
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
@this-dot/claude-code-context-status-line
Advanced tools
CLI tool to restore context window visibility for AWS Bedrock users in Claude Code by displaying real-time token usage in the status line
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
Add this to your Claude Code settings (~/.claude/settings.json):
{
"statusLine": {
"type": "command",
"command": "npx @thisdot/claude-code-context-status-line"
}
}
Verification:
# Test the installation
echo '{"transcript_path":"/tmp/test.jsonl","model":{"display_name":"Test"}}' | npx @thisdot/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"}' | node context-status.js
Node.js not found errors:
node --versionbrew install node if using HomebrewPermission denied errors:
chmod +x context-status.jsStatus 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 25 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.

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

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.