Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pproenca/dot-skills --skill jscodeshiftgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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/skills/pproenca/dot-skills/jscodeshift)<a href="https://agentmods.dev/skills/pproenca/dot-skills/jscodeshift"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/jscodeshift/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/skills/pproenca/dot-skills/jscodeshift"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/jscodeshift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.00061 | $0.01574 |
| Opus 5.5 | $0.00024 | $0.00630 |
| Sonnet 5.5 | $0.00012 | $0.00315 |
| Haiku 4.5 | $0.00006 | $0.00157 |
Grade A, and why
jscodeshift 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 2mo 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 — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Facebook/Meta jscodeshift Best Practices
Comprehensive best practices guide for jscodeshift codemod development, designed for AI agents and LLMs. Contains 40 rules across 8 categories, prioritized by impact from critical (parser configuration, AST traversal) to incremental (advanced patterns). Each rule includes detailed explanations, real-world examples, and specific impact metrics.
When to Apply
Reference these guidelines when:
- Writing new jscodeshift codemods for code migrations
- Debugging transform failures or unexpected behavior
- Optimizing codemod performance on large codebases
- Reviewing codemod code for correctness
- Testing codemods for edge cases and regressions
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Parser Configuration | CRITICAL | parser- |
| 2 | AST Traversal Patterns | CRITICAL | traverse- |
| 3 | Node Filtering | HIGH | filter- |
| 4 | AST Transformation | HIGH | transform- |
| 5 | Code Generation | MEDIUM | codegen- |
| 6 | Testing Strategies | MEDIUM | test- |
| 7 | Runner Optimization | LOW-MEDIUM | runner- |
| 8 | Advanced Patterns | LOW | advanced- |
Quick Reference
1. Parser Configuration (CRITICAL)
parser-typescript-config- Use correct parser for TypeScript filesparser-flow-annotation- Use Flow parser for Flow-typed codeparser-babel5-compat- Avoid default babel5compat for modern syntaxparser-export-declaration- Export parser from transform moduleparser-astexplorer-match- Match AST Explorer parser to jscodeshift parser
2. AST Traversal Patterns (CRITICAL)
traverse-find-specific-type- Use specific node types in find() callstraverse-two-pass-pattern- Use two-pass pattern for complex transformstraverse-early-return- Return early when no transformation neededtraverse-find-filter-pattern- Use find() with filter object over filter() chaintraverse-closest-scope- Use closestScope() for scope-aware transformstraverse-avoid-repeated-find- Avoid repeated find() calls for same node type
What ships with it
45 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 8.5 KB
- assets/templates/_template.md 1.1 KB
- metadata.json 949 B
- README.md 4.5 KB
- references/_sections.md 1.7 KB
- references/advanced-compose-transforms.md 2.3 KB
- references/advanced-custom-collections.md 2.4 KB
- references/advanced-multi-file-state.md 2.3 KB
- references/advanced-scope-analysis.md 2.3 KB
- references/codegen-preserve-style.md 1.7 KB
- references/codegen-print-width.md 1.6 KB
- references/codegen-template-literals.md 1.9 KB
- references/codegen-tosource-options.md 1.8 KB
- references/filter-computed-properties.md 1.9 KB
- references/filter-import-binding.md 2.1 KB
- references/filter-jsx-context.md 1.8 KB
- references/filter-nullish-checks.md 1.8 KB
- references/filter-path-parent-check.md 1.8 KB
- references/parser-astexplorer-match.md 1.5 KB
- references/parser-babel5-compat.md 1.4 KB
- references/parser-export-declaration.md 1.3 KB
- references/parser-flow-annotation.md 1.3 KB
- references/parser-typescript-config.md 1.2 KB
- references/runner-batch-processing.md 1.5 KB
- references/runner-extensions-filter.md 1.6 KB
- references/runner-ignore-patterns.md 1.6 KB
- references/runner-parallel-workers.md 1.7 KB
- references/runner-verbose-output.md 1.7 KB
- references/test-dry-run-exploration.md 1.9 KB
- references/test-fixture-files.md 1.8 KB
- references/test-inline-snapshots.md 1.8 KB
- references/test-negative-cases.md 1.9 KB
- references/test-parse-errors.md 1.9 KB
- references/transform-builder-api.md 1.6 KB
- references/transform-insert-import.md 2.5 KB
- references/transform-preserve-comments.md 1.9 KB
- references/transform-remove-unused-imports.md 1.9 KB
- references/transform-renameto.md 1.6 KB
- references/transform-replacewith-callback.md 1.8 KB
- references/traverse-avoid-repeated-find.md 1.6 KB
- references/traverse-closest-scope.md 1.8 KB
- references/traverse-early-return.md 1.7 KB
- references/traverse-find-filter-pattern.md 1.6 KB
- references/traverse-find-specific-type.md 1.3 KB
- references/traverse-two-pass-pattern.md 1.8 KB
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.
- 2mo ago First seen · 117 lines · 61 tokens per session scan A 3160ec06601e
jscodeshift is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 61 tokens to every session and 1,574 once invoked, about $0.0002 per session on Opus 5.5. 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-09-03.
jscodeshift compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| jscodeshiftpproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 61 | Claude Code, Codex |
| no-bare-castsprisma/orm | Skill | 48k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| aws-sst-developmentsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 26 | Claude Code |
| league-akari-shard-developmentLeagueAkari/LeagueAkari | Skill | 4.9k | 2d ago | MIT | A | 58 | Claude Code, Codex |
| dd-code-generationDataDog/pup | Skill | 1.0k | today | Apache-2.0 | A | 16 | Claude Code |
| fast-typescript-checkinternet-development/www-sacred | Skill | 1.6k | 14d ago | MIT | A | 84 | Claude Code, Codex |
| typescript-magicianmcollina/skills | Skill | 2.0k | 15d ago | MIT | A | 108 | Claude Code, Codex |