Borrowing it
Nothing to install: this file belongs to zkysar1/Claude-Mind. 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/zkysar1/Claude-Mind/main/.claude/skills/prime/SKILL.mdgit clone --depth 1 https://github.com/zkysar1/Claude-MindWrote 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/zkysar1/claude-mind/prime)<a href="https://agentmods.dev/skills/zkysar1/claude-mind/prime"><img src="https://agentmods.dev/badge/skills/zkysar1/claude-mind/prime/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/zkysar1/claude-mind/prime"><img src="https://agentmods.dev/badge/skills/zkysar1/claude-mind/prime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, 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 Tool Misuse · line 220 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- high Tool Misuse · line 220 Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
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.00119 | $0.07189 |
| Opus 5 | $0.00060 | $0.03594 |
| Sonnet 5 | $0.00024 | $0.01438 |
| Haiku 4.5 | $0.00012 | $0.00719 |
Grade A, and why
prime 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 8d 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 — 505 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/prime — Context Priming Engine
Loads the agent's accumulated knowledge into active context so that conversations and goal execution start with domain awareness rather than amnesia.
Internal skill: called by boot (RUNNING state) and session start protocol (any mode). Not user-invocable — users enter persona to prime automatically.
Key design: Boot loads the MAP (indexes, summaries). Prime loads the TERRITORY (actual tree node content, reasoning bank entries, guardrail details). Together they give the agent full domain awareness.
Sub-commands
/prime — Auto-detect context and prime broadly
/prime --category <cat> — Prime a single category at deep depth
Phase 0: Load Conventions
Step 0: Load Conventions — Bash: load-conventions.sh with each name from the conventions: front matter. Read only the paths returned (files not yet in context). If output is empty, all conventions already loaded — proceed to next step.
Phase 0.5: Agent Mode Detection
# Capture the state check's output FIRST so the IF clause below
# unambiguously refers to it (G3, 2026-05-20). The validate-paths.sh
# call between this and the IF emits multi-line "L3 PATH VALIDATOR"
# text — without naming the variable, a future editor could misread
# the IF as checking validate-paths' output.
Bash: state=$(bash core/scripts/session-state-get.sh); echo "state=$state"
# The trailing echo (H1, 2026-05-20) makes the captured value visible to the
# LLM in the Bash tool's stdout. Without it, the assignment writes to a bash
# subshell variable that dies when bash exits — zero stdout — and the IF
# clause below has no value to compare. Sibling skills use bare `var=$(cmd)`
# as pseudocode convention; /prime's NO_AGENT branch is critical enough to
# warrant explicit echo.
# L3 PATH DEFENSE (g-115-35) — verify local-paths.conf points at paths that
# exist and are writable BEFORE any tree/meta read or write. Fail-open:
# prints WARN on mismatch but never blocks loop entry. Enforcement belongs
# to L1 (write-time hook) and L2 (permission gate).
Bash: validate-paths.sh
# LANE-PIN REVIEW SURFACE (g-115-5901) — sibling of the L3 defense above: a
# fail-open startup advisory that prints and never blocks. A lane pin is a
# durable USER-DIRECTED restriction on this agent's entire work surface; its
# `review_by` column says when a human should LOOK at it again, not when it
# stops binding. Past that date this prints "still enforced — confirm or
# retire" and keeps printing every startup until a human edits the registry row.
#
# The pin is NOT weakened by a lapsed date and the claim gate never consults
# this — a hard expiry would silently hand the agent back a surface the user
# deliberately took away. Before this existed the `expires` column was parsed
# into a field NO caller anywhere in the tree ever read, so a pin could sit
# unexamined forever and the dead field terminated the audit that would have
# found it. Silent when no pin covers this agent, or when none is past due.
Bash: lane-pin-review.sh
IF state == "NO_AGENT":
→ World-only priming mode. Skip all agent-specific steps.
→ Bash: world-cat.sh program.md # The Program — shared purpose
→ Bash: world-cat.sh knowledge/tree/_tree.yaml # collective knowledge overview
→ Bash: guardrail-manifest.sh (shared safety rules — id manifest, 100%
coverage; same budget + expansion rules as Phase 2 item 3)
→ Bash: reasoning-bank-read.sh --recent (shared lessons — bounded; see Phase 2 item 4)
→ Display:
═══ WORLD PRIME (no agent) ═══
PROGRAM: [contents of world/program.md]
KNOWLEDGE: [tree summary]
GUARDRAILS: [count] active
REASONING: [count] active
════════════════════════════════
→ Output: "Primed in world-only mode. No agent identity active."
→ DONE (skip all remaining phases)
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.
- 8d ago First seen · 505 lines · 119 tokens per session scan A f4e981aab01e
prime is a skill published in the GitHub repository zkysar1/Claude-Mind (5 stars, last pushed today), licensed MIT. It adds 119 tokens to every session and 7,189 once invoked, about $0.0006 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 skills, from other repositories
hive.context-preservation
Proactively extract critical values from tool results into working notes before automatic context pruning destroys them.
hive.note-taking
Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.
Vizra ADK Memory System
Implement persistent memory, session context, and vector memory (RAG) for AI agents.
learning-capture
Log corrections, errors, and discoveries to orbital/LESSONS.md so future sessions avoid repeating mistakes.
obsidian
A skill for working with an Obsidian vault, which is a folder of Markdown notes used as a personal knowledge base. It covers creating, extending, searching, and organizing notes, including links, tags, folders, and daily entries.
mupeng-sync
Propagate Mupengism values and knowledge to new agents. Deploy AGENT-VALUES.md, onboard new subagents with core principles. The missionary skill.