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 agentmods add commands/flyfission/nuclear-grade-context-engineering/ng-foldersgit clone --depth 1 https://github.com/FlyFission/nuclear-grade-context-engineeringWrote 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/flyfission/nuclear-grade-context-engineering/ng-folders)<a href="https://agentmods.dev/commands/flyfission/nuclear-grade-context-engineering/ng-folders"><img src="https://agentmods.dev/badge/commands/flyfission/nuclear-grade-context-engineering/ng-folders.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.01118 |
| Opus 5 | $0.00000 | $0.00559 |
| Sonnet 5 | $0.00000 | $0.00224 |
| Haiku 4.5 | $0.00000 | $0.00112 |
Grade A, and why
ng-folders 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 5d 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 — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ng-folders
Portable command prompt generated from skills/organizing-project-folders/SKILL.md. Edit the skill, then run python tools/ng.py gen-commands; do not edit this file by hand.
Designs a clean folder and file layout as real architecture, building it from a work breakdown or an existing tree, grouping by what changes together and what happens to it, with platform-safe sortable names and a short note per folder. Use when laying out a repo or agent workspace, deciding where a file belongs, or fixing a junk-drawer folder. Do not use for a single obvious file path or renaming inside an already-clean tree.
Use when
- Laying out a new repo, service, feature, or agent workspace tree.
- Deciding where a new file or module belongs.
- A folder has become a junk drawer and no longer maps to the work.
- Turning a work breakdown into real folders, or reorganizing an existing tree.
- Designing a step-by-step agent workflow as folders on disk instead of framework code.
Do not use when
- A single file with an obvious home, or a rename inside an already-clean, conventional tree.
- A live incident you have to contain first.
- A layout fully fixed by an outside framework's required structure. Follow that instead.
- Enforcing ownership, CI gates, or supply-chain trust. Those belong to
choosing-what-to-control,checking-release-readiness, andvetting-outside-code-and-models.
Inputs
- The work breakdown and its dictionary (
templates/standard/wbs.mdor awbs.md) when there is one. Otherwise the scope, which you will break down in reverse. - The current repo layout and any conventions doc.
- The mission anchor and any platform or tooling limits.
- For each piece, what eventually happens to it (keep, temporary, archive, generated).
Prompt text
Build and check a folder/file layout.
Inputs:
- WBS or scope: <wbs.md path, or the deliverable to break down>
- paradigm: <production-codebase | agent-workflow-workspace>
- existing tree to respect: <paths or none>
- naming convention: lowercase, hyphen or underscore (pick one), ISO-8601 dates,
one dot for the extension, no spaces or special characters
Do this in order:
1. Choose the paradigm. Production codebase: one root per deliverable, plus a
small approved set of shared parts; the folder tree is the work breakdown
laid out on disk. Agent workflow workspace: numbered stage folders (01_,
02_), each with a context file that states its Inputs, Process, and Outputs;
keep lasting reference material separate from per-run output; let scripts do
the mechanical work; put a human review gate at each stage boundary.
2. Set the source of truth: derive folders from the work breakdown's outline
numbers, or, if there is none, reverse-engineer the implied breakdown first.
3. For each proposed folder, answer the checklist: has it earned a folder? Does
it hold together (one reason to change)? Does little leak out of it? Does it
map to one part of the breakdown or one over-time rule? Does it have a single
home? Is it named safely? Is it shallow enough? Is it documented?
4. Name and bound it: enforce the naming convention; ban misc/stuff/tmp/new/old/
backup/final and a bare utils; cap depth near 8 levels and the path near 255
characters.
5. Give each non-trivial folder a README or dictionary note, plus a note on what
happens to it over time.
6. Reconcile with the existing tree; propose the smallest new structure; flag
conflicts instead of overwriting.
Return: the folder map (work-breakdown outline number -> path, with an over-time
column), the per-folder notes, and a check of the naming, the depth, and the
single source of truth. Do not overwrite a baselined tree; propose it for review.
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.
- 5d ago First seen · 79 lines · 0 tokens per session scan A fd12611b77e4
ng-folders is a command published in the GitHub repository FlyFission/nuclear-grade-context-engineering (33 stars, last pushed 26d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,118 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
coder-eval-implement-plan
Implement an approved codereval plan phase by phase with risk-scaled per-phase review, then a final code review.
check-gates
Run a Pre-Action Gate check against prevention rules before executing a risky action.
task-verify
PitWay: Run an inprogress task's approved verification command and persist evidence.
fix
Universal debugging and fix application with semantic code analysis.
status-enhanced
/forge:status-enhanced is the heavyweight sibling of /forge:status. While the standard status command gives you a quick overview, the enhanced version runs a full seven-source analysis: complete git history with a 7-day commit activity heatmap, full test suite execution with verbose output, TypeScript compilation…
domain-research
Conduct domain research covering industry analysis, regulations, technology trends, and ecosystem dynamics using current web data and verified sources.