pocket-init

pocket-init is a skill for Claude Code from rfxlamia/pocketto. It costs 85 tokens per session (1,581 once invoked), scanned A, original, MIT.

An onboarding tool for adding Pocket to an existing code project. It examines the repository and creates or updates a project guide, with optional Pocket Enterprise and GitHub templates.

In plain words
What is it for?
Use it when adopting Pocket in an existing repository, refreshing its project guide, or optionally enabling its team workflow.
Why use it?
It gives the coding agent verified project context instead of relying on guesses about the codebase.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Part of the pocketto plugin — 13 skills shipped together

Good fit Use it when adopting Pocket in an existing repository, refreshing its project guide, or optionally enabling its team workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rfxlamia/pocketto/pocket-init
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 rfxlamia/pocketto --skill pocket-init
Clone the repo
git clone --depth 1 https://github.com/rfxlamia/pocketto

Made for: Claude Code.

Or install pocketto, the plugin that ships this one along with the rest of its 13 skills.

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 pocket-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/rfxlamia/pocketto/pocket-init.svg)](https://agentmods.dev/skills/rfxlamia/pocketto/pocket-init)
Your own site
<a href="https://agentmods.dev/skills/rfxlamia/pocketto/pocket-init"><img src="https://agentmods.dev/badge/skills/rfxlamia/pocketto/pocket-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,581 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.00085 $0.01581
Opus 5 $0.00043 $0.00790
Sonnet 5 $0.00017 $0.00316
Haiku 4.5 $0.00009 $0.00158

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

Security

Grade A, and why

pocket-init 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.

skills/pocket-init/SKILL.md · 155 lines

How it starts

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

Pocket Init

Standalone onboarding skill. Takes an existing project from zero Pocket context to ready-to-run: a project memory file the agent can rely on, and — only when the user opts in — Pocket Enterprise mode with GitHub templates.

Core principle: Read the project, never guess it. Every claim written to the memory file must come from files actually inspected in this run. User content in an existing memory file is never overwritten.

Use this when: Adopting Pocket in an existing repo, regenerating a stale project guide, or enabling Pocket Enterprise for a team.

Do NOT use when: The project already has a current memory file and enterprise config — there is nothing to initialize. For spec work, go to pocket-grinding.


Invocation

/pocketto:pocket-init [<dir>]

<dir> defaults to the repository root of the current working directory.


Hard Constraints


Step 1: Brownfield scan (read-only)

Inspect the project before writing anything:

  1. Stack & manifestspackage.json, pyproject.toml, Cargo.toml, go.mod, pom.xml, or equivalent: language, package manager, declared scripts.
  2. Commands — extract the real build / test / lint / typecheck commands from the manifest scripts or CI workflows (.github/workflows/*). Record them verbatim.
  3. Layout — top-level directories and what lives in each (source, tests, docs, tooling). Keep it to the directories that matter.
  4. Conventions — formatter/linter configs, commit style visible in git log --oneline -10, test file naming.
  5. Existing memory files — check for CLAUDE.md and AGENTS.md. Note which exist and whether they already contain a pocket-init managed section or a ## Pocket Enterprise heading.

Read the full file on GitHub · 155 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. 8d ago First seen · 155 lines · 85 tokens per session scan A bbee2ba8865a

Subscribe to this mod's changes

pocket-init is a skill published in the GitHub repository rfxlamia/pocketto (5 stars, last pushed 16d ago), licensed MIT. It adds 85 tokens to every session and 1,581 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

independent-review-loop

Independent review loop run before delivery in code work. An independent reviewer (Codex, or fresh Codex-style subagents) reads the whole PR against the approved outcome; the lead fixes in-scope functional findings and re-reviews until none remain. Its differentiator is independence and exhaustiveness — a reviewer…

DheerG/swarms · 114 tokens

resolve-dispute

Resolves stuck review findings via a put-up-or-concede exchange. Invoked by the facilitator when a finding survives arbitration without new evidence.

DheerG/swarms · 32 tokens

fec-image-generation

A workflow for creating or editing images and diagrams, from posters and product mockups to academic graphics, illustrations, and system maps. For text-heavy technical diagrams, it can use editable sources such as Mermaid, SVG, HTML, or canvas before exporting an image.

bovinphang/frontend-craft · 256 tokens

esp32-expert

This skill should be used for ESP32-specific hardware and runtime work in ESP-IDF, Arduino-ESP32, or PlatformIO projects: target/build detection, FreeRTOS tasks and ISRs, memory/DMA, peripherals, power, networking/security, OTA, crash diagnosis, and unattended reliability. Trigger on "debug this ESP32 crash", "review…

johnkozaris/jko-claude-plugins · 137 tokens

session-recap

Document Claude Code sessions by extracting knowledge into cross-referenced documentation. Triggers on "recap the session", "summarize the work", or after significant code changes.

sxhmilyoyo/sundayhao-plugins · 39 tokens

knowledge-bank-lookup

Delegates knowledge bank lookups to Explore subagents with reflections-first strategy that learns from past mistakes. Checks /reflections/ directory before documentation to extract documented failures to avoid and proven approaches to apply. Automatically triggers when user mentions services ([project-a], [project-b]…

sxhmilyoyo/sundayhao-plugins · 94 tokens