Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/wrg32786/aigent-osnpx agentmods add skills/wrg32786/aigent-os/cognitive-updateWrote 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/wrg32786/aigent-os/cognitive-update)<a href="https://agentmods.dev/skills/wrg32786/aigent-os/cognitive-update"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/cognitive-update/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/wrg32786/aigent-os/cognitive-update"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/cognitive-update.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.00032 | $0.00818 |
| Opus 5.5 | $0.00013 | $0.00327 |
| Sonnet 5.5 | $0.00006 | $0.00164 |
| Haiku 4.5 | $0.00003 | $0.00082 |
Grade A, and why
cognitive-update 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 23d 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/cognitive-update
Nightly uses this shared protocol after /system-check. It never infers a
durable state change from one agent-authored claim.
Ownership fence
This protocol may update only:
vault/memory/runtime/GOAL_STACK.jsonvault/memory/runtime/BELIEF_STATE.jsonl(append-only)vault/memory/runtime/SELF_MODEL.jsonvault/memory/runtime/PROCEDURES.jsonl(append-only)
The documented memory/ fallback is valid for minimal installations. This
protocol never writes ACTIVE_STATE.json or STATE_EVENTS.jsonl; the runtime
state daemon owns those products. It never writes Dream or measurement ledgers.
Evidence admission
Direct updates require one of:
- the operator's explicit goal, belief, or procedure statement with a durable source reference;
- a repository-owned command or test invoked with explicit arguments and a literal exit code;
- an external artifact that directly decides the claim;
- two independent observed occurrences for a recurring capability or failure.
Capsules and Session Log entries are discovery sources. They cannot verify their own confident claims. If evidence is incomplete, skip the durable update and stage an observation through the nightly evidence flow.
File rules
GOAL_STACK.json
Move, append, or update only explicit goals, blockers, next actions, and completions. Completion requires success criteria plus an external artifact or operator confirmation. Preserve unknown fields and unrelated arrays.
BELIEF_STATE.jsonl
Append only. A revision reuses the original id and includes revision_note; a
new belief receives max numeric bNNN plus one. Do not use line count. Serialize
UTF-8 JSON and parse the appended line.
SELF_MODEL.json
Update only named capability, limitation, recurring-failure, reliability-risk,
or achieved-learning-goal fields. When alias arrays coexist, update each alias
pair in lockstep or fail SELF_MODEL_ALIAS. A one-off result is not a durable
capability.
PROCEDURES.jsonl
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.
- 23d ago Changed · -8 tokens per session bd70078a026f
- 3mo ago First seen · 107 lines · 40 tokens per session scan A f96eb117f5ad
cognitive-update is a skill published in the GitHub repository wrg32786/aigent-os (26 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 818 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-09-01.
cognitive-update compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cognitive-updatewrg32786/aigent-os | Skill | 26 | today | MIT | A | 32 | Claude Code |
| distillhiphapis/loopcraft | Skill | 2 | 4mo ago | none | A | 80 | Claude Code |
| memory-recallzilliztech/memsearch | Skill | 3.0k | 3d ago | MIT | A | 152 | Claude Code |
| learnAgentToolkit/altk-evolve | Skill | 143 | 4d ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| evolve-lite:retentionAgentToolkit/altk-evolve | Skill | 143 | 4d ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| adapt-memoryAgentToolkit/altk-evolve | Skill | 143 | 4d ago | Apache-2.0 | A | 23 | Claude Code |
| recallAgentToolkit/altk-evolve | Skill | 143 | 4d ago | Apache-2.0 | A | 42 | Claude Code |