Borrowing it
Nothing to install: this file belongs to aspenkit/aspens. 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/aspenkit/aspens/main/.agents/skills/base/SKILL.mdgit clone --depth 1 https://github.com/aspenkit/aspensWrote 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/aspenkit/aspens/base)<a href="https://agentmods.dev/skills/aspenkit/aspens/base"><img src="https://agentmods.dev/badge/skills/aspenkit/aspens/base/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/aspenkit/aspens/base"><img src="https://agentmods.dev/badge/skills/aspenkit/aspens/base.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- 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.00014 | $0.01657 |
| Opus 5.5 | $0.00006 | $0.00663 |
| Sonnet 5.5 | $0.00003 | $0.00331 |
| Haiku 4.5 | $0.00001 | $0.00166 |
Grade A, and why
base 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 1mo 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.
You are working in aspens — a CLI that keeps coding-agent context accurate as your codebase changes. Scans repos, generates project-specific instructions and skills for Claude Code and Codex CLI, and keeps them fresh.
Tech Stack
Node.js 20+ (ESM) | Commander | Vitest | es-module-lexer | @clack/prompts | picocolors
Commands
npm test— Run vitest suitenpm start/node bin/cli.js— Run CLIaspens scan [path]— Deterministic repo analysis (no LLM)aspens doc init [path]— Generate skills + hooks + AGENTS.md (--target claude|codex|all,--recommendedfor full recommended setup)aspens doc impact [path]— Show freshness, coverage, and drift of generated context (--applyfor auto-repair,--backend/--model/--timeout/--verbosefor LLM interpretation)aspens doc sync [path]— Incremental skill updates from git diffsaspens doc graph [path]— Rebuild import graph cache (.claude/graph.json)aspens add <type> [name]— Install templates (agents, commands, hooks)aspens customize agents— Inject project context into installed agentsaspens save-tokens [path]— Install token-saving session settings (--recommendedfor no-prompt install,--removeto uninstall)- Debug:
ASPENS_DEBUG=1dumps raw stream events to$TMPDIR/aspens-debug-{stream,codex-stream}.json - Env knob:
ASPENS_TIMEOUT(seconds) overrides default LLM timeout when--timeoutnot passed
Architecture
CLI entry (bin/cli.js) → command handlers (src/commands/) → lib modules (src/lib/)
src/lib/scanner.js— Deterministic repo scanner (languages, frameworks, domains, structure)src/lib/graph-builder.js— Static import analysis via es-module-lexer (hub files, clusters, priority)src/lib/graph-persistence.js— Graph serialization, subgraph extraction, code-map + index generationsrc/lib/runner.js— Claude/Codex CLI wrapper (runClaudefor stream-json,runCodexfor Codex JSONL); also hostsloadPrompt(partial substitution) andparseFileOutput/validateSkillFilessrc/lib/context-builder.js— Assembles repo files into prompt-friendly contextsrc/lib/skill-writer.js— Writes skill files and directory-scoped files, generates skill-rules.json, merges settingssrc/lib/skill-reader.js— Parses skill files, frontmatter,triggers:blocks, legacy activation patterns, keywordssrc/lib/diff-classifier.js— Maps changed files to affected skills for doc-syncsrc/lib/diff-helpers.js— Targeted file diffs and prioritized diff truncation for doc-syncsrc/lib/git-helpers.js— Git repo detection, git root resolution, diff retrieval, log formattingsrc/lib/git-hook.js— Post-commit git hook installation/removal for auto doc-sync (monorepo-aware)src/lib/impact.js— Context health analysis: domain coverage, hub surfacing, drift detection, hook health, save-tokens health, usefulness summary, value comparison, opportunitiessrc/lib/save-tokens.js— Save-tokens config defaults, settings builders, gitignore/readme generatorssrc/lib/timeout.js— Timeout resolution (--timeoutflag >ASPENS_TIMEOUTenv > default)src/lib/errors.js—CliErrorclass (structured errors caught by CLI top-level handler)src/lib/target.js— Target definitions (claude/codex), config persistence (.aspens.json) withsaveTokensfeature config;getAllowedPathsfor multi-target sanitizationsrc/lib/target-transform.js— Transforms Claude-format output to other target formatssrc/lib/backend.js— Backend detection and resolution (which CLI generates content)src/lib/path-resolver.js/src/lib/source-exts.js— Source-file extension and path resolution helpers shared by scanner/graphsrc/lib/parsers/— Language-specific import parsers (TypeScript, Python)src/lib/frameworks/— Framework-specific detectors (e.g. Next.js)src/prompts/— Prompt templates with{{partial}}and{{variable}}substitutionsrc/templates/— Bundled agents, commands, hooks, and settings foraspens add/doc init/save-tokens
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.
- 1mo ago First seen · 79 lines · 14 tokens per session scan A 74c50f943464
base is a skill published in the GitHub repository aspenkit/aspens (103 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 1,657 once invoked, about $0.0001 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-08-30.
Other skills, from other repositories
do
Work a SpecWeave increment task by task - claim, implement inside its Files, test, commit, done with evidence - alone, unattended or in lanes, then close. Use for "implement", "continue", "auto".
handoff
Hand work to another tool, account or machine and pick it up there, in two words. Use when the user says "hand off", "hand off all", "out of tokens", "switching accounts", "pick up" or "continue".
sw-do
Work a SpecWeave increment task by task - claim, implement inside its Files, test, commit, done with evidence - alone, unattended or in lanes, then close. Use for "implement", "continue", "auto".
sw-handoff
Hand work to another tool, account or machine and pick it up there, in two words. Use when the user says "hand off", "hand off all", "out of tokens", "switching accounts", "pick up" or "continue".
increment
Plan work as a SpecWeave increment - one spec.md with Problem, Scope, numbered ACs, Approach and Tasks - before writing code. Use for "plan a feature", "new increment", "let's build X".
review
Adversarial review of an increment before it ships, by a fresh context or another model family; every finding cites path:line and is re-verified. Use for "review", "qa", "critique this".