Borrowing it
Nothing to install: this file belongs to ramakay/claude-organizer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ramakay/claude-organizer/main/.claude/commands/claude-organize-js.mdgit clone --depth 1 https://github.com/ramakay/claude-organizerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/ramakay/claude-organizer/claude-organize-js)<a href="https://agentmods.dev/commands/ramakay/claude-organizer/claude-organize-js"><img src="https://agentmods.dev/badge/commands/ramakay/claude-organizer/claude-organize-js/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/ramakay/claude-organizer/claude-organize-js"><img src="https://agentmods.dev/badge/commands/ramakay/claude-organizer/claude-organize-js.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00482 |
| Opus 5 | $0.00000 | $0.00241 |
| Sonnet 5 | $0.00000 | $0.00096 |
| Haiku 4.5 | $0.00000 | $0.00048 |
Grade A, and why
claude-organize-js scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Enable JavaScript/MJS Organization (Experimental)
⚠️ WARNING: EXPERIMENTAL FEATURE
This command enables JavaScript/MJS file organization, which is DISABLED by default for safety reasons.
What This Command Does
When you run this command, Claude Organize will:
- Show you important warnings about the risks
- Ask for confirmation before enabling
- Let you choose between 'safe' and 'aggressive' modes
- Enable JS organization for your current project
Safety Considerations
Files That WILL Be Organized:
- Utility scripts like
check-*.js,test-*.js,debug-*.js - Standalone scripts with no exports
- CLI tools with shebang lines
- Test data generators and debugging utilities
Files That Will NEVER Be Touched:
- ❌ Any file in
src/,lib/,dist/,build/ - ❌ Files with
exportormodule.exports - ❌ React/Vue/Angular components
- ❌ Config files (
*.config.js) - ❌ Package entry points (
index.js,main.js)
Modes Available
Safe Mode (Recommended)
- Only organizes files matching known utility patterns
- Most conservative approach
- Pattern-based detection only
Aggressive Mode
- Uses AI analysis with 95% confidence requirement
- Can detect more utility scripts
- Higher risk of false positives
Before Enabling
CRITICAL CHECKLIST:
- Your project is under version control (Git)
- You have committed all changes
- You have tested on a non-critical project first
- You understand the risks involved
- You will monitor the organization log
How to Use
Simply type:
/claude-organize-js
Claude will guide you through the process with appropriate warnings and confirmations.
To Disable
If you need to disable JS organization:
unset CLAUDE_ORGANIZE_JS
Or in your .env file:
CLAUDE_ORGANIZE_JS=false
Remember
This feature is experimental. Even with all safety measures, there's always a risk when moving JavaScript files. Use with extreme caution and always have backups!
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 84 lines · 0 tokens per session scan A c33238c43dcb
claude-organize-js is a command published in the GitHub repository ramakay/claude-organizer (68 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 482 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
README
Git workflow and quality assurance commands for the claude-skills repository.
statusbar-style
Switch the status-bar style (classic / capsule / hairline).
prototype
You are building a proof-of-concept for the current Grainulator sprint. Read CLAUDE.md for sprint context and claims.json for existing research claims.
update-counts
Update all hardcoded counts (skills, agents, marketplace repos/skills) across documentation from filesystem.
save
Save a key-value memory entry to persistent storage.
mach12:gh-pr-read
Read a GitHub pull request's title, body, and all top-level PR conversation comments; optionally locate an HTML-marker comment.