patpat-run
Drive, checkpoint, validate, resume, or safely take over multi-phase engineering work through a deterministic local state machine.
Skill by goiltpatpat
Chalk Labs
Need help deploying patpat-run?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/goiltpatpat-patpat-run
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/patpat-run
What's inside
- Skill name
patpat-run- Description
- Drive, checkpoint, validate, resume, or safely take over multi-phase engineering work through a deterministic local state machine. Use for long work, arbitrary branch or handoff pickup, and tasks that must survive context loss without granting delivery authority.
- License
- MIT
- Metadata
- patpat.ontology: {"schema":"patpat-ontology/v1","mutation_level":"LOCAL_MUTATION","target_entity":"GitRepository","requires_state":[],"produces_state":[],"verification_cmd":""}
- Instructions
- 42 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (16)
- SKILL.md
- AssignmentGeneration.cfg · models/
- AssignmentGeneration.mutant.cfg · models/
- AssignmentGeneration.rejected-write-mutant.cfg · models/
- AssignmentGeneration.tla · models/
- assignment-generation-model.md · references/
- decision-trail.md · references/
- program-coordination.md · references/
- check_assignment_model.py · scripts/
- decisions.py · scripts/
- program_state.py · scripts/
- run_state.py · scripts/
- state_lock.py · scripts/
- team_shape.py · scripts/
- validate_plan.py · scripts/
- verify_assignment_fence.py · scripts/
SKILL.md (first lines)
# Patpat Run Before following this skill, apply the [skill state and mutation gate](../patpat-loop/references/operating-protocol.md#skill-state-and-mutation-gate). When invoked directly, read the [operating protocol](../patpat-loop/references/operating-protocol.md) in full. Do not load the router. Read [sequence verifiable units](../patpat-loop/principles/sequence-verifiable-units.md), [proof over proxy](../patpat-loop/principles/proof-over-proxy.md), and apply the [multi-phase run playbook](../patpat-loop/playbooks/multi-phase-run.md). Use [`scripts/run_state.py`](scripts/run_state.py) for durable graph state. Require a Git worktree with at least one commit and store state under Git metadata. Print the absolute store path at each checkpoint. Do not commit run state or create a tracked handoff unless the user explicitly requests it. Keep an append-only [human decision trail](references/decision-trail.md) at `<git patpat/runs>/<run-id>/decisions.tsv` next to `state.json`; same privacy as run state. For a checked multi-unit plan or writable fan-out, read [program coordination](references/program-coordination.md) before using `program_state.py` or `team_shape.py`. Single durable runs do not load that reference. Record declared authority and prohibitions at initialization, but never treat that record as fresh delivery approval. Require a structured proof contract before `ACT`, a content-bound `file:<absolute-path>` evidence receipt before `REVIEW`, and independent review evidence before `LEARN` or `REPORT`. Use the host's native absolute-path form; both POSIX and Windows paths are valid. On resume, a prior receipt counts only when `validate` accepts it as fresh for the current candidate, contract, evidence epoch, and snapshot. The run snapshot covers Git-visible repository state, not ignored files or the process and dependency environment; bind any task-relevant non-secret inputs separately or rerun the check. A failed or partial verification, or changes-required review, does not clear the streak; a `verified` verification, `pass` review receipt, or materially revised proof contract does. After a `failed`, `partial`, or `changes-required` receipt, record any persistent blocker with `record --kind failure`, a stable blocker key, and the matching `--failure-class` (`implementation`, `verifier`, or `environment`). Decision and experiment notes and graph transitions do not reset the streak. A failure count increments only when the immediately preceding failure has the same blocker key, failure class, and graph node. A changed snapshot alone does not reset the count; each failure still records its own snapshot. Otherwise the new count is one. After two consecutive failures at the same proof step with the same stable blocker, record the execution graph's five-field `Diagnostic Delta` with `record --kind decision --summary '<delta>'` before another attempt, even when an intervening fix changed the snapshot. The next attempt must change a named variable from that delta. After three consecutive failures with the same blocker key, failure class, and graph node, stop the run as `BLOCKED`. `run_state.py` does not record or enforce user approval for learning. Treat `LEARN` as proposal-pending; do not edit or transition to `VERIFY` until explicit approval is received. If approval is pending, keep the run at `LEARN`; if declined, report without making the proposed edit. Never record secrets, tokens, raw private logs, or sensitive payloads in run state or receipts. Point only to a safe, inspectable evidence file. Treat deletion or content change as stale evidence. If a process interruption leaves a lock, inspect it first. Use `unlock` for a run or `recover-lock` for a program only when the engine proves a same-host owner is dead. Let the engine reject live, malformed, or cross-host locks; never delete them by assumption. Route completion through `patpat-ship` when delivery intent exists. Explicit Patpat activation alone does not authorize default commit-and-PR; see the operating protocol and default-delivery playbook. Durable-run mechanical gates remain separate. Overnight stops merge-ready. Merge only with explicit land or merge language and green checks. On resume, validate the store, compare live repository state, inspect intentional and pre-existing changes, and continue from the earliest valid graph node. Never trust a checkpoint merely because it parses. When inheriting an arbitrary branch, transcript, or handoff without a valid Patpat store, apply the [session takeover playbook](../patpat-loop/playbooks/session-takeover.md) before initializing a new run. When taking over, lock the time window, do not reconstruct from transcripts alone, and verify surfaced PRs, branches, and tickets with live git and gh. Program stores created before assignment fencing are schema v1. Do not trust or silently upgrade their actor labels or evidence. Run `migrate-v1 --invalidate-legacy-evidence` explicitly; migration preserves the plan and heads, clears legacy evidence and inbox, closes gates, and requires fresh dispatch plus assignments. Schema-v2 stores require `migrate-v2 --invalidate-legacy-evidence`; schema-v3 stores require `migrate-v3 --invalidate-legacy-evidence`. Each migration preserves the plan and heads, clears verification and review evidence, removes the old dispatch binding and inbox, resets units to pending, revokes assignments, and closes both gates. Assignment generations advance when a prior assignment snapshot exists. The v3 migration also creates the execution-policy record with no configured budget. Require fresh schema-v2 parallel-gate receipt evidence and rerun unit proof before delivery. Before migrating a real store, stop writers, create and verify a protected copy of the exact `state.json` outside the live store, and obtain explicit user authorization for that store and migration. If post-migration status is wrong, stop writers and restore the verified copy with the pre-migration Patpat version that reads that schema before resuming; current code deliberately refuses older program-state schemas. Use `patpat-inspect` and [PR Drive](../patpat-loop/playbooks/pr-drive.md) for read-only PR status or topology; an explicit GitHub-native stack discovery uses its [PR Handoff](../patpat-loop/playbooks/pr-handoff.md) step. Apply the [autopilot playbook](../patpat-loop/playbooks/autopilot.md) only when asked to implement or coordinate an independent PR queue or linear verified stack. Owners build and prove. The root verifies. Landing still requires a named delivery action. For an implementation or coordination request spanning multiple PRs, write a bounded host-neutral JSON plan and validate it with [`scripts/validate_plan.py`](scripts/validate_plan.py) before fan-out or implementation. Give every unit an id, dependencies, disjoint ownership unless dependency order serializes an overlap, build command or `N/A: <reason>`, observable proof, targeted/live/performance checks or explicit `N/A: <reason>`, `exact-head` evidence binding, and `independent-pass-before-delivery` review gate. Record claimed delivery authority once for the plan, then prove that authority again at execution time; a valid plan and an open dispatch gate never grant permission. Do not encode fixed model or lane counts. ## Proof closure Close repository mutations through: - [`patpat-verify`](../patpat-verify/SKILL.md) - [`patpat-review`](../patpat-review/SKILL.md)
From goiltpatpat/patpat, MIT.
More from goiltpatpat/patpat
- 0.592score
patpat-repository-diagram
goiltpatpat
Turn an explicitly requested idea, question, plan, or codebase into an interactive diagram.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
00-workspace-mapper
goiltpatpat
Inspect an unfamiliar software workspace and create or refresh a compact evidence index at .patpat/context-graph.json.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
patpat-loop
goiltpatpat
Run the explicit Patpat evidence-driven engineering loop.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
patpat-inspect
goiltpatpat
Explain repository behavior, ownership, placement, or historical design decisions without editing.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
patpat-game-builder
goiltpatpat
Build or extend a runnable game or gameplay feature in the user's project.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
patpat-learn
goiltpatpat
Convert a recurring failure, correction, or verification gap from the active task into the smallest durable constraint.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
patpat-automation
goiltpatpat
Design or scaffold a safe external automation for a concrete provider, trigger, and verification surface.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
patpat-arena
goiltpatpat
Run isolated competing attempts at the same brief, pick a base, graft the strongest parts, and verify the synthesis.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
patpat-debug
goiltpatpat
Diagnose and fix a reproducible defect through root-cause evidence.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
patpat-eval
goiltpatpat
Evaluate whether an agent skill triggers and performs correctly using scoped, evidence-based trials.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
patpat-change
goiltpatpat
Implement one bounded repository change with a small diff and explicit proof.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
patpat-perf
goiltpatpat
Diagnose a resource regression or drive sustained numeric optimization against a measurable target.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/goiltpatpat/patpat
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from goiltpatpat
- 0.592score
patpat-repository-diagram
goiltpatpat
Turn an explicitly requested idea, question, plan, or codebase into an interactive diagram.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
patpat-loop
goiltpatpat
Run the explicit Patpat evidence-driven engineering loop.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
00-workspace-mapper
goiltpatpat
Inspect an unfamiliar software workspace and create or refresh a compact evidence index at .patpat/context-graph.json.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
patpat-inspect
goiltpatpat
Explain repository behavior, ownership, placement, or historical design decisions without editing.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
patpat-game-builder
goiltpatpat
Build or extend a runnable game or gameplay feature in the user's project.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
patpat-learn
goiltpatpat
Convert a recurring failure, correction, or verification gap from the active task into the smallest durable constraint.
SkillAFreshness: A★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get patpat-run running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
patpat-run skill. Agent Mart. https://agentmart.dev/skills/goiltpatpat-patpat-run (last updated 2026-10-24)