
Product
Socket Brings Supply Chain Security to skills.sh
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.
@this-dot/claude-code-context-status-line
Advanced tools
Custom Claude Code status line to restore context window visibility for AWS Bedrock users by displaying token usage.
Custom Claude Code status line to restore context window visibility for AWS Bedrock users by displaying token usage. Specifically designed for AWS Bedrock users who have lost access to the /context command in Claude Code and need to restore visibility into their context window usage.
Problem Statement: AWS Bedrock users in Claude Code lost access to the built-in /context command, making it impossible to see how much of the context window is being used during conversations.
Solution: This tool restores that visibility by parsing Claude Code's transcript files and displaying token usage directly in the status line.
How It Works: The tool reads JSONL transcript files generated by Claude Code, extracts token usage data (input + cache read + cache creation tokens), and formats it for display in the status line.
Normal Operation:
Opus (125k) - 125,000 total tokens with Claude 3.5 OpusSonnet 4 (1.2M) - 1.2 million tokens with Claude 3.5 SonnetClaude (50.5k) - 50,500 tokens with default model nameError States:
- (-) - Error reading transcript or no data availableChoose Method 1 if: You want automatic updates and minimal maintenance Choose Method 2 if: You need offline access or want to modify the script
Install globally and use the command directly:
npm install -g @this-dot/claude-code-context-status-line
Add this to your Claude Code settings (~/.claude/settings.json):
{
"statusLine": {
"type": "command",
"command": "claude-code-context-status-line"
}
}
Verification:
# Test the installation
echo '{"transcript_path":"/tmp/test.jsonl","model":{"display_name":"Test"}}' | claude-code-context-status-line
# Expected output: Test (-)
curl -o context-status.js https://raw.githubusercontent.com/thisdot/claude-code-context-status-line/main/src/context-status.js
chmod +x context-status.js
~/.claude/settings.json:{
"statusLine": {
"type": "command",
"command": "node /absolute/path/to/context-status.js"
}
}
Finding your Claude Code settings:
~/.claude/settings.json~/.claude/settings.json%USERPROFILE%\.claude\settings.jsonStatus line shows "- (-)" constantly:
claude --versionecho '{"transcript_path":"/path/to/transcript.jsonl"}' | claude-code-context-status-line
Node.js not found errors:
node --versionbrew install node if using HomebrewPermission denied errors:
Status line doesn't update:
Local Operation Only:
File Access:
Data Handling:
Designed for Efficiency:
Scaling Characteristics:
Resource Usage:
Node.js:
Claude Code:
Operating Systems:
Dependencies:
What tokens are counted:
Status Line Behavior:
MIT License - see LICENSE file for details.
FAQs
Custom Claude Code status line to restore context window visibility for AWS Bedrock users by displaying token usage.
The npm package @this-dot/claude-code-context-status-line receives a total of 14 weekly downloads. As such, @this-dot/claude-code-context-status-line popularity was classified as not popular.
We found that @this-dot/claude-code-context-status-line demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.