Maintains reusable gezhi templates, artifact recipes, tik oracle scripts, example gezhi.toml files, and project-type setup guidance for future agents and advanced users.
Ships in ai4ss-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when maintaining reusable gezhi setup material rather than
configuring one user's project. The audience is future agents and advanced
users who need a reliable recipe for a project family.
Do not use this skill to connect an ordinary target project to gezhi. For
that job, use gezhi-project-setup. This skill only maintains the reusable
material that llms.txt and gezhi-project-setup point agents toward.
Template work includes:
gezhi.toml files;llms.txt, docs/skills.md, README links, or skill content.gezhi.toml by hand.Write down:
Do not create a generic "agent task" template. Every template must be tied to an artifact family.
Each template must tell agents how to find or create the producer:
Makefile, justfile, package.json, pyproject.toml, README,
CI workflows, and scripts/;scripts/goal_producer.sh;Include one minimal producer wrapper when useful.
For oracle templates, provide or describe a script that returns a parseable
gezhi verdict. The script should check the artifact and print a JSON object
with:
{
"artifact_ready": false
}
For checklist templates, use the same command-backed contract as oracle,
but reserve the provider name for checklist-style reviews that should show up
as checklist in tik ledgers and state.
For codex_file and claude_code_file templates, write a concise
artifact-only prompt. If a slash skill is required, it must be the first line
of the prompt.
For api templates, state the OpenAI package plus Packy/OpenAI-compatible API
key requirements. The default model is claude-fable-5 through PackyAPI, and
credentials may come from PACKYAPI_API_KEY, PACKYCODE_CODEX_KEY,
OPENAI_API_KEY, or ~/.config/gezhi/api.env. Keep store = false unless
the template explicitly requires stored API responses. If a local skill is
required, set tik.skill instead of putting a slash command in the prompt.
Every template must include:
write_dirs;{tik_review_path} as the standard to
meet;Every template must include:
gezhi validate
gezhi doctor
gezhi run --dry-run
Add smoke checks when relevant:
gezhi doctor --smoke-codex-goal
gezhi doctor --smoke-codex-app-server
gezhi doctor --smoke-codex-goal --smoke-codex-file-tik
gezhi doctor --smoke-codex-app-server --smoke-codex-file-tik
If a template includes a tik oracle script, include a direct oracle command and
the expected verdict shape.
If it includes a checklist runner, use provider = "checklist" and document
that gezhi doctor checks the command statically.
If a template recommends unattended progress, include the system-level
heartbeat command and state that each tick still runs exactly one heartbeat.
Omit --every-minutes unless the template needs a fixed timer; gezhi
defaults to a 5-minute wake-up for perpetual goals and a 30-minute wake-up for
legacy goals:
gezhi heartbeat install --max-minutes 600
gezhi heartbeat status
Use these repository locations unless a future repository convention replaces them:
skills/gezhi-project-setup/SKILL.md
skills/gezhi-template-author/SKILL.md
docs/skills.md
examples/<project-family>/gezhi.toml
examples/<project-family>/README.md
scripts/ (only for repository-level tooling)
llms.txt
Project-specific producer wrappers should be described in templates, not added to this repository unless they are examples.
name = "research-pdf-ready"
state_dir = ".gezhi"
runs_dir = ".gezhi/runs"
[artifact]
path = "output/full_paper.pdf"
copy_as = "full_paper.pdf"
[producer]
command = "scripts/goal_producer.sh"
[tik]
provider = "codex_file"
timeout_seconds = 1800
max_file_size_bytes = 25000000
max_output_tokens = 4096
[tik.verdict]
ready_field = "artifact_ready"
required_fields = ["artifact_ready"]
[tok]
provider = "codex_goal"
sandbox = "workspace-write"
write_dirs = ["writing", "src"]
codex_features = ["goals"]
# Use provider = "codex_app_server" for Codex app-server stdio instead of
# codex exec, or provider = "claude_code_goal" for Claude Code.
[safety]
generated_dirs = ["output", "build", "cache"]
max_blocker_repeats = 3
Before finishing template work, verify:
name, description, and version are present for every skill;docs/skills.md;llms.txt lists the current agent entrypoints;gezhi;docs/config-schema.md;What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
gezhi-templates, project-setup, artifact-recipes, tik-oracles
2 skills in this plugin
/siyaozheng-ai4ss-skills:gezhi-template-authorfrom ai4ss-skills
Generated from the plugin's indexed repository (siyaozheng/gezhi) — no native marketplace selected
npx claudepluginhub p/siyaozheng-ai4ss-skillsOther plugins' skills for the same job