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

Good fit Use it during first setup to ask about the project, technology stack, team, and main context problem, then initialize the wiki when appropriate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abhisekjha/pith/pith-setup
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.

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/github.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/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.

agentmods 80×15 button for pith-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/abhisekjha/pith/pith-setup"><img src="https://agentmods.dev/badge/skills/abhisekjha/pith/pith-setup.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.5 $0.00018 $0.00274
Sonnet 5.5 $0.00009 $0.00137
Haiku 4.5 $0.00004 $0.00068

Measured 1mo ago against content hash 994a487d1ea4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 5mo ago), licensed MIT. It adds 44 tokens to every session and 685 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

agents-md-improver

Audit and improve project-rules files (AGENTS.md, CLAUDE.md, .agents/instructions, local overrides) so the agent keeps accurate project context. Use when the user asks to check, audit, review, update, improve, or fix their AGENTS.md or CLAUDE.md, mentions "project rules maintenance" or "agent context optimization", or…

waybarrios/opencode-power-pack · 125 tokens

agents-md-revise

Capture learnings from the current session into the project-rules file (AGENTS.md, CLAUDE.md, or local override) so future sessions benefit. Use when the user says "revise the rules", "update AGENTS.md / CLAUDE.md with what we just learned", "save this to project memory", "remember this for next time", or at the end…

waybarrios/opencode-power-pack · 114 tokens

knowledge-wiki

A tool that turns useful lessons from coding sessions into general articles for a team wiki. A wiki is a collection of linked reference pages, and this one can be kept locally or shared through a Git repository.

wigtn/wigtn-plugins · 154 tokens

team-memory-protocol

A shared-memory process for teams of coding agents working on the same build. It stores project knowledge, shared context, and task progress in separate files or repositories.

wigtn/wigtn-plugins · 42 tokens

doc-digest

Turn a long document, PDF, transcript, spreadsheet or log into a compact working digest the conversation can continue from. Use when the user shares or pastes something long (several pages or more) and wants to discuss, analyze, compare or use it over more than one message, or asks to summarize a document so they can…

egorfedorov/claude-context-optimizer · 75 tokens

fresh-start

Continue in a new chat without losing anything — writes a compact handoff to paste into a fresh conversation. Use whenever the user wants to move to a new chat or conversation, hits usage limits, says replies got slow or Claude forgets earlier details, or the conversation has grown long.

egorfedorov/claude-context-optimizer · 60 tokens