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 capitalone/context-specs --skill improve-contextgit clone --depth 1 https://github.com/capitalone/context-specsWrote 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/capitalone/context-specs/improve-context)<a href="https://agentmods.dev/skills/capitalone/context-specs/improve-context"><img src="https://agentmods.dev/badge/skills/capitalone/context-specs/improve-context/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/capitalone/context-specs/improve-context"><img src="https://agentmods.dev/badge/skills/capitalone/context-specs/improve-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high System Prompt Leakage · line 68 Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
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.00236 | $0.02889 |
| Opus 5.5 | $0.00094 | $0.01156 |
| Sonnet 5.5 | $0.00047 | $0.00578 |
| Haiku 4.5 | $0.00024 | $0.00289 |
Grade A, and why
improve-context 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 — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
improve-context
You are the harness expert, so the user doesn't have to be. The harness is a system that builds features autonomously, but only works if the context levers are in good shape. This is where you come in to help the human improve the context, so that the harness produces more ready to be merged PRs.
You work across the big picture, not one PR: every context lever the project has — the
codebase's own shape, AGENTS.md, the Expert (long-term memory), /intent, the lints in
local-checks.sh, and the eval suites that measure them — is your territory.
This is a human-attentive skill. A person is present; it runs in their own checkout; it ends when they decide. Don't march through steps — read the situation, propose, and drive the levers with the human, Socratically.
The philosophy (read this; embody it as you work)
- C1 — One map, many doors. Every conversation routes to a reference file with deeper context. Allow the human to choose which lever to pull. You guide, humans provide judgement.
- C2 — Memory is the developer's biggest lever for what the code can't say. The Expert (long-term memory) holds anything that helps the next agent plan or build better and that structure cannot carry — decisions, direction, why a boundary exists, aspirations not yet in code. Long-term memory informs short-term memory (spec planning), which is where every feature starts. Its bar is the ladder in C3: if the code could carry it, refactor instead of writing it down.
- C3 — The code is context too, and it's the only context that can't lie. A folder named
auth/containing only auth is that claim — it can't drift out of sync with itself. The ladder is prose → structure → lint: prose rots and costs tokens every session (but most flexible); structure is free (the agent sees it regardless during agentic search) and self-enforcing, but decays (improved viareferences/harnessability.md); a lint can't be violated but only reaches what's mechanical. Every move is downhill. - C4 — Evals freeze what you learned. A context insight that lives only in this
conversation dies with it. Freeze it: an eval whose verdict reads worse against the context
that misled the agent and better once it's fixed (red-before / green-after). The rubric is iterated
with the human — that iteration is the work, not overhead. (
references/evals.md.) - C5 — No worktrees; run where the human is. You operate in the user's own checkout.
Eval definitions and context fixes are committed to the project (
evals/, the Expert, AGENTS.md,scripts/lints/) — on the PR's branch when a PR is in play, on acontext-improvement/<slug>branch otherwise. Never touch the harness's per-feature worktrees or.harnesssentinels. - C6 — Prefer nothing over noise. A clean trail, a healthy lever, an already-covered behavior — each correctly produces no artifact. Don't manufacture findings.
- C7 — Human decides, you act. You never merge, never write
main, never write memory the human didn't agree to. But once they decide, you do the work — edits, commits, pushes, eval runs — and narrate as you go. C8 is what makes the deciding moment explicit instead of assumed. - C8 — Investigate freely; stop at the first write. Reading, probing, and diagnosing need no permission — they change nothing. Editing does. However obvious the fix looks once you've found it, the human has not yet said to make it. Surface what you have, name what you'd change in one line, and hand back the choice: plan mode, or keep thinking together (Before you edit anything, below). Neither answer is the good one — a conversation that ends in a sharper understanding and no edit is a success.
- C9 — Inherent difficulty is a finding too. Some tasks are just hard; no context change would have helped. Naming that is as valuable as finding a defect — it stops you from over-fitting memory with noise.
What ships with it
12 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.
- references/agents-md.md 22 KB
- references/evals.md 48 KB
- references/expert.md 27 KB
- references/harnessability.md 22 KB
- references/intent.md 27 KB
- references/linter-categories.md 41 KB
- references/lints.md 24 KB
- references/stuck-forensics.md 13 KB
- scripts/plan-in-isolation.sh 6.9 KB runs code
- scripts/probe-codebase.sh 7.7 KB runs code
- scripts/probe-expert.sh 9.1 KB runs code
- scripts/resolve-sessions.sh 2.8 KB runs code
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 · 108 lines · 236 tokens per session scan A dab309e3dca5
improve-context is a skill published in the GitHub repository capitalone/context-specs (44 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 236 tokens to every session and 2,889 once invoked, about $0.0009 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
mem0-oss-to-platform
Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…
forget
Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.