prime

A workflow for loading a software project's context and producing a structured summary. It examines the project files, documentation, technology choices, important code, and recent Git activity.

In plain words
What is it for?
It is for reviewing the project structure, reading key documentation, identifying the software stack, inspecting entry points and core files, and checking recent branches and commits.
Why use it?
It reduces the time needed to understand an unfamiliar codebase before making changes. It gathers the main project facts in one summary.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/defaultperson/agent-setup/prime
Any agent
npx skills add DefaultPerson/agent-setup --skill prime
Clone the repo
git clone --depth 1 https://github.com/DefaultPerson/agent-setup

Made for: Claude Code, Codex.

Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 578 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00032 $0.00578
Opus 5 $0.00016 $0.00289
Sonnet 5 $0.00006 $0.00116
Haiku 4.5 $0.00003 $0.00058

Measured 2d ago against content hash c0fa1ce76948, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 2d 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.

.codex/skills/prime/SKILL.md · 84 lines

What it actually says

$ARGUMENTS

Build comprehensive understanding of the codebase. Run all steps, then output a concise summary.

Process

1. Project Structure

git ls-files | head -100

Show directory tree (depth 3, skip noise):

find . -maxdepth 3 -type f \
  -not -path '*/node_modules/*' \
  -not -path '*/.git/*' \
  -not -path '*/dist/*' \
  -not -path '*/build/*' \
  -not -path '*/__pycache__/*' \
  -not -path '*/.next/*' \
  | head -80

2. Core Documentation

Read whatever exists — skip what's missing:

  • README.md, CLAUDE.md, AGENTS.md
  • docs/ directory (if present — scan for architecture, API, specs)
  • Any other top-level docs (PRD, spec, CONTRIBUTING, ARCHITECTURE, etc.)

3. Stack Detection

Look for common config files to detect the stack:

  • package.json, pyproject.toml, go.mod, Cargo.toml, requirements.txt
  • Build/lint configs (tsconfig.json, ruff.toml, .eslintrc*, etc.)
  • Infra files (Dockerfile, docker-compose.yml, .github/workflows/)

4. Key Files

From the file tree, identify and read entry points, core schemas/models, and important service files.

5. Git Activity

git log --oneline -20
git branch -a
git diff --stat HEAD~5..HEAD 2>/dev/null

Output Summary

## Project Context

### Overview
- **Purpose**: {what this project does}
- **Tech Stack**: {languages, frameworks, key deps}

### Architecture
- **Structure**: {key directories, patterns}
- **Entry Points**: {main files}
- **Config**: {build tools, CI/CD, infra}

### Current State
- **Branch**: {current branch}
- **Recent Work**: {last 5 commits summary}
- **Active Areas**: {most changed files/dirs}

### Key Files
- {path} — {purpose}
- ...

Make the summary easy to scan — bullet points, clear headers, no walls of text.

Changes

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.

  1. 2d ago First seen · 84 lines · 32 tokens per session scan A c0fa1ce76948

Subscribe to this mod's changes

prime is a skill published in the GitHub repository DefaultPerson/agent-setup (11 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 578 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

bark-notify-test

Send a Bark verification notification for the current Claude Code Bark setup on macOS or Windows. Use when the user wants to test delivery, confirm encryption works, or check whether the configured completion notification is healthy.

RUIIIOVO/claude-code-bark-notify · 47 tokens

bark-notify

Use this skill whenever the user wants Claude Code to notify an iPhone through Bark when a task, turn, or coding session finishes. Works on macOS, Linux, and Windows. Trigger on requests about Bark notifications, Claude completion alerts, iPhone push reminders, completion messages, Bark hook setup, or Bark…

RUIIIOVO/claude-code-bark-notify · 81 tokens

bark-notify-setup

Set up Bark completion notifications for Claude Code on macOS or Windows by safely writing the local Bark sender script and merging hooks into /.claude/settings.json. Use when the user explicitly asks to configure Bark for them or to directly install the completion notification flow.

RUIIIOVO/claude-code-bark-notify · 58 tokens

bark-notify-uninstall

Remove Bark notification configuration from Claude Code on macOS, Linux, or Windows. Use when the user wants to uninstall, remove, or clean up Bark notifications, delete the Bark hook, or reset their Bark setup.

RUIIIOVO/claude-code-bark-notify · 50 tokens

at-vision

Inspect screenshots, photos, diagrams, image paths, and image URLs when the task depends on visible content. Use when the prompt lacks actual image content, native inspection fails, or the user requests inspectimage; prefer the MCP tool, then the installed CLI.

kairyou/agent-tools · 55 tokens

decision-ledger

Maintain an append-only decision ledger (DECISIONS.md). Use when the user confirms a decision, reverses or changes a past decision, asks what was decided and why, or at session start to load standing decisions.

svy04/ballast · 48 tokens