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 donaldfilimon/abi --skill context-stategit clone --depth 1 https://github.com/donaldfilimon/abiWrote 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/donaldfilimon/abi/context-state)<a href="https://agentmods.dev/skills/donaldfilimon/abi/context-state"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/context-state/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/donaldfilimon/abi/context-state"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/context-state.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.00425 |
| Opus 5.5 | $0.00000 | $0.00170 |
| Sonnet 5.5 | $0.00000 | $0.00085 |
| Haiku 4.5 | $0.00000 | $0.00042 |
Grade A, and why
context-state 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 15d 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.
What it actually says
Agent context state
Merged from the former context-state-reporter and context-resetter skills on 2026-09-21.
Context State Reporter
Use when: Show current agent context state including history, file mentions, and session data. Maps to /context slash command in abi agent tui.
Reports the current state of the agent REPL context.
Usage
/context
Output Includes
- Turn history (last 10 entries by default)
- Current file mentions in context
- Session name if saved
- Learning mode status
- Active model/profile
Implementation
Reads ReplState from crates/abi-cli/src/terminal.rs:
turn_historyring bufferfile_mentionscachelearn_modeflagcurrent_modelselection
Skill Integration
Direct mapping to abi agent tui REPL /context command.
Context Resetter
Use when: Reset agent context - clear history, file mentions, and transient state. Maps to /reset slash command in abi agent tui.
Clears all transient agent context state for a fresh start.
Usage
/reset
Cleared State
- Turn history (all entries)
- File mentions cache
- Input buffer
- Streaming state
Preserved State
- Model/profile selection
- Learning mode setting
- Session name (if loaded)
- Feature flags
Implementation
Calls clearTurnHistory() and resets ReplState fields in crates/abi-cli/src/terminal.rs:
turn_history= empty ring bufferfile_mentions= emptyinput_buffer= empty
Skill Integration
Maps to abi agent tui REPL /reset command.
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.
- 15d ago First seen · 78 lines · 0 tokens per session scan A 9ce39e2ca833
context-state is a skill published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 425 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-11-15.
context-state compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-statedonaldfilimon/abi | Skill | 18 | 5d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| clinical-reportssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 71 | Claude Code |
| imaging-data-commonssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 62 | Claude Code, Codex |
| clinical-decision-supportsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 97 | Claude Code |
| clinical-imagingsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 69 | Claude Code, Codex |
| curated-bio-datasetssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 79 | Claude Code, Codex |
| ggetsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 66 | Claude Code, Codex |