pact-init

pact-init is a skill for Claude Code, Codex from jonathanmr22/pact. It costs 9 tokens per session (5,452 once invoked), scanned A, original, MIT.

A setup guide that adds PACT governance files to a project. PACT is a project-management structure, and its three levels—Seed, Growth, and Full—add different amounts of documentation and checks.

In plain words
What is it for?
Use it when starting or organizing a project that needs documented decisions, project knowledge, checks, maps of how parts fit together, or supporting research workflows.
Why use it?
It helps teams choose an appropriate amount of project structure before creating files. This avoids adding large-project paperwork to a small script or leaving a complex project without shared records.

Skill for Claude CodeCodex

Part of the pact plugin — 5 skills, 3 agents 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/jonathanmr22/pact/pact-init
Any agent
npx skills add jonathanmr22/pact --skill pact-init
Clone the repo
git clone --depth 1 https://github.com/jonathanmr22/pact

Made for: Claude Code, Codex.

Or install pact, the plugin that ships this one along with the rest of its 5 skills, 3 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jonathanmr22/pact/pact-init.svg)](https://agentmods.dev/skills/jonathanmr22/pact/pact-init)
Your own site
<a href="https://agentmods.dev/skills/jonathanmr22/pact/pact-init"><img src="https://agentmods.dev/badge/skills/jonathanmr22/pact/pact-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,452 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.00009 $0.05452
Opus 5 $0.00005 $0.02726
Sonnet 5 $0.00002 $0.01090
Haiku 4.5 $0.00001 $0.00545

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

Security

Grade A, and why

pact-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 3d 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.

plugins/pact/skills/pact-init/SKILL.md · 309 lines

How it starts

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

Before scaffolding, determine the project's scale tier and whether it delegates to a parent project.


Step 0: Project Scale

PACT has three tiers. Not every project needs 21 scaffolded files.

Tier Selection

Ask the user explicitly. Present all three tiers with descriptions and let them choose:

PACT has three scale tiers. Which fits this project?

  Seed     — Small utilities, scripts, CLI tools, single-purpose libraries.
              Gets cognitive redirections, bug tracking, package knowledge,
              and core hooks. No structural overhead.

  Growth   — Medium projects with databases, multiple services, or growing
              complexity. Adds SYSTEM_MAP, feature flows, research system,
              preflight checks, dashboard (optional), and researcher subagent.

  Full     — Large applications with rich UI, multiple data stores, complex
              state management. Gets everything — aesthetic skill, cutting room,
              capability baseline, all 3 subagents, project philosophy.

Which tier? (seed / growth / full)

You can offer context to help them decide (file count, database tables, external services), but the user chooses — don't auto-assign.

Tier Definitions

Subsystem Seed Growth Full
Cognitive redirections
Bug tracker + solutions KB
Package knowledge
PENDING_WORK
Hooks (pre-edit, post-edit, read tracker) Core only
Preflight checks
SYSTEM_MAP
Feature flows Critical paths
Research knowledge base
Knowledge directory
Dashboard Optional
Subagents Researcher only All 3
Aesthetic skill
Cutting room
Capability baseline
Project philosophy

Tier guidelines (not rigid rules — the user decides):

  • Seed — Small utilities, scripts, single-purpose libraries, CLI tools. <20 source files, no database, 0-1 external services. Gets the reasoning foundation without the infrastructure overhead.
  • Growth — Medium projects with some complexity. 20-200 source files, a database, multiple services. Gets structural awareness (SYSTEM_MAP, flows) and research compounding.
  • Full — Large applications with rich UI, multiple data stores, many integrations. 200+ source files, complex state management. Gets everything — the project's complexity justifies every subsystem.

Read the full file on GitHub · 309 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. 3d ago First seen · 309 lines · 9 tokens per session scan A 7673402fd674

Subscribe to this mod's changes

pact-init is a skill published in the GitHub repository jonathanmr22/pact (15 stars, last pushed 2mo ago), licensed MIT. It adds 9 tokens to every session and 5,452 once invoked, about $0.0000 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

orloj-generator

Interactive scaffold generator for Orloj multi-agent systems. Use this skill whenever someone wants to create, set up, scaffold, bootstrap, or generate an Orloj agent system, pipeline, swarm, or hierarchy. Also trigger when users mention "orlojctl init", ask how to get started with Orloj, want to build a multi-agent…

OrlojHQ/orloj · 168 tokens

air-blackbox-sales-agent

AIR Blackbox's autonomous sales prospecting agent. Finds Python AI projects on GitHub that need EU AI Act compliance, identifies the right person to contact (CEO, CTO, lead maintainer), runs a free compliance scan, and drafts personalized outreach emails that convert to engagement. The sales flow: free scan as the…

airblackbox/airblackbox · 248 tokens

interpret-results

Interprets AIR Blackbox scan results and maps findings to specific EU AI Act articles, recitals, and remediation steps. Use when the user has scan output and wants to understand what to fix, why it matters, or how to prioritize.

airblackbox/airblackbox · 49 tokens

harness

End-to-end workflow orchestrator. Walks the 11-phase pipeline, invoking each phase skill in order inside an internal loop, yielding at consent gates (/approve-direction, /approve-swarm, /grant-commit), and exiting cleanly on yield/failure/done. Decides swarm-vs-solo at Phase 6. Auto-loops /tdd on integrate failures…

friedbotstudio/baseline · 110 tokens

nio-scan

Nio code/skill execution-risk scanner. Use when the user wants to scan a file, repo, directory, or skill for execution risks — e.g. "scan this code for risks", "is this file/plugin dangerous", "check this repo for malicious code", "run nio scan on ". Focused single-purpose skill; for other Nio operations use /nio.

core0-io/nio · 81 tokens

code-structure

MANDATORY skill for ALL code generation. Enforces top-down composition, consistent abstraction layers, and proper module hierarchy. Apply every time you write or modify code — in any language — no exceptions.

friedbotstudio/baseline · 43 tokens