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/ai-native-systems/north-star-advisor/exportgit clone --depth 1 https://github.com/AI-Native-Systems/north-star-advisorWrote 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/ai-native-systems/north-star-advisor/export)<a href="https://agentmods.dev/commands/ai-native-systems/north-star-advisor/export"><img src="https://agentmods.dev/badge/commands/ai-native-systems/north-star-advisor/export.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.00013 | $0.00926 |
| Opus 5 | $0.00006 | $0.00463 |
| Sonnet 5 | $0.00003 | $0.00185 |
| Haiku 4.5 | $0.00001 | $0.00093 |
Grade A, and why
export 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 4d 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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/northstar:export
Package generated strategic documents and AI context into a shareable zip file.
Usage
/northstar:export [--output <path>]
| Option | Description |
|---|---|
--output <path> |
Custom output path (default: north-star-advisor-export.zip) |
What Gets Included
Note: Document names come from templates/index.yml. Glob actual files from north-star-advisor/docs/.
north-star-advisor-export.zip
├── ai-context.yml # Strategic context for Claude Code
└── docs/
├── [core templates from index.yml where flag: null]
├── design/ # If --ux was used
│ └── [templates from index.yml where flag: ux]
└── architecture/
└── [templates from index.yml where flag: deep or AGENT_PROMPTS]
Structure depends on which flags were enabled. Only include files that actually exist.
What Gets Excluded
.work-in-progress/- Working state (not needed for sharing)- Research cache
- Checkpoints
- Internal state files
Workflow
Step 1: Check Prerequisites
- Check if
north-star-advisor/ai-context.ymlexists - Check if
north-star-advisor/docs/exists and has content - If missing:
No generated documents found. Run /northstar:advisor-build first to generate documents.
Step 2: Gather Files
- Read
north-star-advisor/ai-context.yml - Glob
north-star-advisor/docs/**/*.md - Build file manifest
Step 2.5: Resolve Output Path
- If
--output <path>was provided, use that path - Otherwise, default to
north-star-advisor-export.zip - Resolve to absolute path before any directory changes
- If parent directory doesn't exist, create it
Step 3: Create Zip
# OUTPUT_PATH = absolute path from Step 2.5
zip -r "${OUTPUT_PATH}" north-star-advisor/ai-context.yml north-star-advisor/docs/
Step 4: Display Summary and CLAUDE.md Instructions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NORTH STAR ADVISOR ► EXPORT COMPLETE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Created: [OUTPUT_PATH]
Contents:
• ai-context.yml (strategic context)
• [N] documents in docs/
Size: [X] KB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NEXT STEP: Add to your project's CLAUDE.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Add this to your CLAUDE.md so Claude Code uses the strategic context:
┌─────────────────────────────────────────────────────
│ ## Strategic Context
│
│ This project was planned using North Star Advisor.
│ Before implementing features, read:
│
│ - `north-star-advisor/ai-context.yml` - Strategic context (start here)
│ - `north-star-advisor/docs/INDEX.md` - Documentation hub
│
│ The ai-context.yml contains:
│ - North Star metric and success criteria
│ - Architecture patterns and agent topology
│ - Security requirements and guardrails
│ - Roadmap phases and milestones
│
│ Always align implementation decisions with these strategic documents.
└─────────────────────────────────────────────────────
Copy the above into your project's CLAUDE.md file.
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.
- 4d ago First seen · 154 lines · 13 tokens per session scan A 6a2b0de278ec
export is a command published in the GitHub repository AI-Native-Systems/north-star-advisor (7 stars, last pushed 5mo ago), licensed MIT. It adds 13 tokens to every session and 926 once invoked, about $0.0001 per session on Opus 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-08-31.
Other commands, from other repositories
brand-generate
Generate an on-brand document from a saved Brand Profile.
done
Finish a task - document, create PR or merge, close.
notebook-audit
Adversarial consistency audit over the notebook knowledge base — finds contradictions in a document corpus: the same category with conflicting amounts, the same person under two names, the same reference with different values, coverage gaps (unprocessed docs), unparseable amounts. Pure SQL, read-only. Writes…
notebook-status
Check the progress of a /agy:notebook sweep (for long document sets run with --background). Reports % complete, done/pending/failed counts, elapsed time and a rough ETA, and which documents are still pending — so you can resume. Read-only, no agy.
story-add
Add a new canonical STAR story to the behavioral story bank. Two modes — cold (you describe an experience from scratch) and CV-grounded (you point at a PDF resume; Claude reads it, suggests candidates, probes the one you pick).
paper-trail-decide
Inspect a single reference in detail (identity, PDF status, acquisition history with verdicts, citation context in vault, state transitions) and decide its fate. Offers actionable decisions based on the ref's current state.