pith-setup

pith-setup is a skill for Claude Code from abhisekjha/pith. It costs 44 tokens per session (685 once invoked), scanned A, original, MIT.

A first-session onboarding guide for Pith, a tool that automatically compresses conversation context and can maintain a project wiki. A project wiki is a set of linked notes about decisions, architecture, and learnings.

In plain words
What is it for?
Use it during first setup to ask about the project, technology stack, team, and main context problem, then initialize the wiki when appropriate.
Why use it?
It gives a new project a consistent starting conversation and collects the information needed to initialize Pith for either a new or existing codebase.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pith plugin — 12 skills, 4 commands, 4 hooks shipped together

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/abhisekjha/pith/pith-setup
Any agent
npx skills add abhisekjha/pith --skill pith-setup
Clone the repo
git clone --depth 1 https://github.com/abhisekjha/pith

Made for: Claude Code.

Or install pith, the plugin that ships this one along with the rest of its 12 skills, 4 commands, 4 hooks.

Wrote 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.

agentmods badge for pith-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/abhisekjha/pith/pith-setup.svg)](https://agentmods.dev/skills/abhisekjha/pith/pith-setup)
Your own site
<a href="https://agentmods.dev/skills/abhisekjha/pith/pith-setup"><img src="https://agentmods.dev/badge/skills/abhisekjha/pith/pith-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 685 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.1 $0.00044 $0.00685
Opus 5 $0.00022 $0.00342
Sonnet 5 $0.00009 $0.00137
Haiku 4.5 $0.00004 $0.00068

Measured 6d ago against content hash 994a487d1ea4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

pith-setup 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 6d 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.

skills/pith-setup/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Onboarding script for Claude

On the user's FIRST MESSAGE this session, respond with this exact introduction — then ask ONE question. Do not dump everything at once.


Introduction (2 sentences, then one question):

Pith is active — token compression running automatically. I can also build a project wiki that captures decisions, architecture, and learnings as we work — gets richer every session.

New project or existing codebase?


Greenfield flow (user says "new" or similar)

Ask these three questions, one at a time:

  1. "What does this project do? One sentence is fine."
  2. "Tech stack? Rough is fine."
  3. "Just you, or a team?"

After getting answers, run python3 ~/.local/share/pith/tools/setup.py --type greenfield with the answers as context, then say:

Wiki ready. I'll maintain it as we build — decisions, architecture, key entities. Every session it gets richer.

What are we building first?


Brownfield flow (user says "existing" or similar)

Ask these three questions, one at a time:

  1. "What does it do? One sentence."
  2. "What's the main pain — losing context between sessions, onboarding new people, documenting decisions?"
  3. "Want me to bootstrap the wiki from the existing code? I'll read the codebase and write initial pages. Takes one session."

If they want bootstrap:

Starting bootstrap. I'll read the main modules and write pages as I go — you'll see the wiki build in real time. Tell me if I'm missing something important.

Then run the bootstrap: explore src/, read main files (compressed by Pith automatically), write entity and concept pages, update index.md and log.md.

If they skip bootstrap:

No problem. I'll start building the wiki from today's work. Every decision and solution we reach, I'll offer to save it.

Run python3 ~/.local/share/pith/tools/setup.py --type brownfield and mark setup complete.


After setup (both flows)

Mark project as setup done: save setup_done: true in project state.

End onboarding with:

Commands:

  • /pith lean|precise|ultra — output compression
  • /pith debug|review|arch|plan|commit — structured formats
  • /pith wiki "<question>" — search the wiki
  • /pith ingest <file> — add a source to the wiki
  • /pith status — token usage this session
  • /budget 150 — hard token ceiling

What are we working on?

Read the full file on GitHub · 83 lines

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. 6d ago First seen · 83 lines · 44 tokens per session scan A 994a487d1ea4

Subscribe to this mod's changes

pith-setup is a skill published in the GitHub repository abhisekjha/pith (98 stars, last pushed 4mo ago), licensed MIT. It adds 44 tokens to every session and 685 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

s-continue

Cheaper and faster than /compact. Restores previous session context from Claude Code AND Codex transcripts by reading them directly — no LLM calls, no token cost. Also auto-loads a handoff written by /s-compact, if one exists. Triggers on "s-continue", "restore context", "what was I doing", "pick up where I left off"…

ww-w-ai/super-token-saver · 95 tokens

dt-usage

Use when the user adds, changes, removes, or announces a change to business behavior — a new endpoint, model, command, signal, event, validation rule, form, page, module, architectural decision, feature flag, supersedes relation, or dependency between modules — and the knowledge graph should reflect it. This covers…

yacb2/domaintome · 184 tokens

wiki-status

Show the current state of the wiki — what's been ingested, what's pending, and the delta between sources and wiki content. Use this skill when the user asks "what's the status", "how much is ingested", "what's left to process", "show me the delta", "what changed since last ingest", "wiki dashboard", or wants an…

Ar9av/obsidian-wiki · 210 tokens

hermes-history-ingest

Ingest Hermes agent history into the Obsidian wiki. Use this skill when the user wants to mine their past Hermes sessions for knowledge, import their /.hermes folder, extract insights from previous Hermes conversations, or says things like "process my Hermes history", "add my Hermes memories to the wiki", "ingest…

Ar9av/obsidian-wiki · 108 tokens

wiki-narrate

Turn a wiki topic into a cited Markdown briefing, plain-language explanation, or progressive lecture. Use this skill for topic-based briefing, explanation, and lecture requests that must stay within the evidence compiled in an Obsidian vault.

Ar9av/obsidian-wiki · 50 tokens

wiki-context-pack

Produce a token-bounded, citation-ready context slice from an existing Obsidian vault for a downstream agent or task. Use for "/wiki-context-pack", "use my vault as context", "context slice for X", "pack the wiki for my agent", or "bounded context for Y".

Ar9av/obsidian-wiki · 63 tokens