begin

A project-starting procedure for Groundwork, a system that provides project documents, decisions, and development guidance.

In plain words
What is it for?
Use it when beginning a Groundwork project, adopting Groundwork for an existing codebase, or starting from an initial product brief.
Why use it?
It determines whether the folder is new or already contains a project, then records the starting state and applies the required setup.

Skill for Claude CodeCodex

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/tradebaas/groundwork/begin
Any agent
npx skills add Tradebaas/Groundwork --skill begin
Clone the repo
git clone --depth 1 https://github.com/Tradebaas/Groundwork

Made for: Claude Code, Codex.

Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,744 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00124 $0.03744
Opus 5 $0.00062 $0.01872
Sonnet 5 $0.00025 $0.00749
Haiku 4.5 $0.00012 $0.00374

Measured yesterday against content hash 5844a1025cf6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

begin scanned grade C with 1 finding 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 yesterday.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

root, so remove it: `rm -rf .git`. In an existing project that `.git` is the owner's own history:
.agents/skills/begin/SKILL.md · 225 lines

How it starts

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

begin: from fresh copy to working project

Run this once. When it's done, STATE.md carries real state and this skill never triggers again.

Which of the two entrances is this? Read it off the tree before doing anything, and say which one you read: a fresh copy holds nothing but Groundwork, while an existing project has its own .git history, source files, and a README that is not this one. Both take the route below; the existing project keeps everything it already has, and the steps say where the two differ. One skill, two doors: decision 0018 records why.

1. Clean the copy

Do this housekeeping silently: it is plumbing, not progress. Report on it only if something went wrong or needs the owner's action; a list of deleted template files is noise to them.

  • If a MASTER_PROMPT.md or MASTER_PROMPT.local.md exists at the root: it is Groundwork's own origin brief, not part of any project. Delete it. (Fresh copies no longer carry it: it is gitignored at source. This clears it from older copies made while it was still tracked.)
  • CHANGELOG.md at the root is Groundwork's release history, not this project's. Note which version this copy came from (its newest entry) in STATE.md at step 4, then empty the file down to its heading so this project's first release writes into it.
  • Delete any non-archived spec folder: docs/specs/[0-9]* directories are in-flight Groundwork maintainer work, never the new owner's. Keep the worked example in docs/specs/archive/007-pickup-slots/ and the TEMPLATE*.md files.
  • docs/product/VISION.md does not exist in a fresh copy, because Groundwork keeps its own purpose out of the copy entirely. Put this project's in place (cp docs/product/TEMPLATE-VISION.md docs/product/VISION.md); the interview at step 4 fills it, and it is the first document that step writes, because scope serves purpose.
  • docs/product/BRIEF.md and docs/specs/archive/000-baseline/ hold Groundwork's own scope and the record of what the framework itself had already shipped. Counted against this project they would report someone else's work as done here. Put the blank brief back (cp docs/product/TEMPLATE-BRIEF.md docs/product/BRIEF.md) and delete the baseline folder.
  • docs/PRODUCT.md is Groundwork's own record of the surfaces this framework renders, which the design method would read as this project's product truth. Delete it: the method's own init writes this project's, in the same place, from what the interview below already captured. docs/DESIGN.md stays: sections 1 and 2 ship with Groundwork and are input to that method.
  • docs/standards/node.md is Groundwork's own stack and its own floor table, which stack-gates would hold this project to. Delete it: a copy has not chosen a stack yet, and the stack skill writes this project's own from docs/standards/TEMPLATE-STACK.md. GLOBAL.md and the template stay - they are the cross-stack floor and the shape, not Groundwork's answers.
  • docs/operations/deploy.md holds Groundwork's own release route, which would read as this project's if it stayed. Put the blank runbook back (cp docs/operations/TEMPLATE-DEPLOY.md docs/operations/deploy.md). deliver fills it at first delivery.
  • docs/state/DEBT.md carries Groundwork's own debt rows, which maintain would harvest and report as this project's. Put the blank ledger back (cp docs/state/TEMPLATE-DEBT.md docs/state/DEBT.md). The first accepted defer: marker fills it; on the existing-project door below, the check total lands here as the starting position.
  • docs/compliance/REGISTER.md holds Groundwork's own compliance answers, which would read as this project's if they stayed. Put the blank register back (cp docs/compliance/TEMPLATE-REGISTER.md docs/compliance/REGISTER.md). Step 4 fills its header from the interview; comply fills the rest before first delivery. The two files beside it, docs/compliance/COMPLIANCE.md and docs/compliance/AI-LITERACY.md, are shared knowledge and stay as they are.
  • Reset "denylist" in checks/config.json to []: its entries guard the origin repo's retired wording, never this project's. Keep styleBans intact (those are generic).
  • Keep the numbered records in docs/decisions/: they document the system this project just inherited (why the rulebook, skills and checks work the way they do). This project's own decisions continue from the next free number. Naming a range here would go stale the next time the framework records one.
  • Strip the data-derive attributes from the stat strip in index.html (leave the numbers and the page alone). They tie those numbers to a gate that counts this repo, and in a copy the numbers describe the framework, not the project: the first decision this project records would otherwise turn the gate red.
  • Verify prerequisites: git --version and node --version (Node ≥ 20). Missing → tell the owner exactly what to install, then stop.

Read the full file on GitHub · 225 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. yesterday First seen · 225 lines · 0 tokens per session scan C 5844a1025cf6

Subscribe to this mod's changes

begin is a skill published in the GitHub repository Tradebaas/Groundwork (2 stars, last pushed 6d ago), licensed MIT. It adds 124 tokens to every session and 3,744 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

mission-driver

Create roadmaps and mission configs, then drive the mission-driver AI dev-loop engine. mission-driver lives at tools/mission-driver/ — it reads missions/ .json and loops CHECK → REVIEWPLANS → EXECPLANS → DRAFTPLANS → DEEPAUDIT until the roadmap is done or the audit budget is exhausted. Use this skill when the user…

entropy-cloud/attractor-guided-engineering-template · 199 tokens

keel-plan

Create or revise PLAN.md — propose the phase DAG (phases · gates · dependencies) from the user's goal, get approval, write the table and regenerate the colored Mermaid diagram from it. Statuses flip at rituals (/keel-handover, /keel-phase-review); post-completion fixes land in the Fix log.

muratsilahtaroglu/claude-code-starter-kit · 70 tokens

keel-stats

Render the ritual telemetry visually — turns .claude/ritual-log into reports/ritual-stats.md with PLAN.md-style colored Mermaid interval boxes (session/compact boundaries) + a counts table. Answers "which skills/commands/hooks ran, how often, in which interval".

muratsilahtaroglu/claude-code-starter-kit · 62 tokens

init

Configure an uninitialized project from an approved charter: stack, scripts, identity, optional Git, and verification.

bnet47/codexicon · 24 tokens

sdd-serve

Serve the SDD Builder's AI request queue: claim requests with sddnextrequest, draft the proposal, answer with sddrespondrequest. Never writes spec files — the user accepts each proposal in the builder. Use when the user asks to attend, serve or listen to the SDD board queue. / Atiende la cola de peticiones del SDD…

juanklagos/spec-driven-development-template · 80 tokens

review-creative

Audit customer-facing work for UX, accessibility, brand fit, credibility, and generic AI output. Use for design, marketing, document, presentation, or visual review.

bnet47/codexicon · 37 tokens