Hook Development for Claude Code Plugins
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
Automated iterative agent runner for spec-based development in Kiro.
$ npx skills add fabricioctelles/skills --skill ralph-loop-kiro-specs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install fabricioctelles/skills ralph-loop-kiro-specs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/fabricioctelles/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ralph-loop-kiro-specs .claude/skills/ralph-loop-kiro-specs && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ralph-loop-kiro-specs" agent skill from https://github.com/fabricioctelles/skills/tree/main/skills/ralph-loop-kiro-specs into .claude/skills/ralph-loop-kiro-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ralph-loop-kiro-specs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/fabricioctelles/skills/tree/main/skills/ralph-loop-kiro-specsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add fabricioctelles/skills --skill ralph-loop-kiro-specs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install fabricioctelles/skills ralph-loop-kiro-specs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fabricioctelles/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/ralph-loop-kiro-specs .agents/skills/ralph-loop-kiro-specs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ralph-loop-kiro-specs" agent skill from https://github.com/fabricioctelles/skills/tree/main/skills/ralph-loop-kiro-specs into .agents/skills/ralph-loop-kiro-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ralph-loop-kiro-specs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fabricioctelles/skills --skill ralph-loop-kiro-specs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install fabricioctelles/skills ralph-loop-kiro-specs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fabricioctelles/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/ralph-loop-kiro-specs .cursor/skills/ralph-loop-kiro-specs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ralph-loop-kiro-specs" agent skill from https://github.com/fabricioctelles/skills/tree/main/skills/ralph-loop-kiro-specs into .cursor/skills/ralph-loop-kiro-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ralph-loop-kiro-specs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/fabricioctelles/skills.git --path skills/ralph-loop-kiro-specs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add fabricioctelles/skills --skill ralph-loop-kiro-specs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install fabricioctelles/skills ralph-loop-kiro-specs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fabricioctelles/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/ralph-loop-kiro-specs .gemini/skills/ralph-loop-kiro-specs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ralph-loop-kiro-specs" agent skill from https://github.com/fabricioctelles/skills/tree/main/skills/ralph-loop-kiro-specs into .gemini/skills/ralph-loop-kiro-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ralph-loop-kiro-specs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install fabricioctelles/skills ralph-loop-kiro-specsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add fabricioctelles/skills --skill ralph-loop-kiro-specs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/fabricioctelles/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/ralph-loop-kiro-specs .github/skills/ralph-loop-kiro-specs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ralph-loop-kiro-specs" agent skill from https://github.com/fabricioctelles/skills/tree/main/skills/ralph-loop-kiro-specs into .github/skills/ralph-loop-kiro-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ralph-loop-kiro-specs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fabricioctelles/skills --skill ralph-loop-kiro-specs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install fabricioctelles/skills ralph-loop-kiro-specs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fabricioctelles/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/ralph-loop-kiro-specs .opencode/skills/ralph-loop-kiro-specs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ralph-loop-kiro-specs" agent skill from https://github.com/fabricioctelles/skills/tree/main/skills/ralph-loop-kiro-specs into .opencode/skills/ralph-loop-kiro-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ralph-loop-kiro-specs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ralph-loop-kiro-specsAutomated iterative agent runner for spec-based development in Kiro.
Ralph Loop Kiro Specs is an agent skill from fabricioctelles/skills. Automated iterative agent runner for spec-based development in Kiro. Wraps kiro-cli in a self-correcting bash loop that picks up tasks from a Kiro spec, implements them one at a time, verifies against exit criteria, and accumulates corrections and codebase patterns across iterations. Use this skill when the user mentions "ralph loop", "ralph", "spec loop", "iterative spec runner", "run my spec tasks automatically", "kiro spec automation", "self-correcting agent loop", "implement spec tasks in a loop", "run…
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/ralph-loop-kiro-specs-prompt.md` and `scripts/ralph-loop-kiro-specs-script.sh`).
It sits in Agent Workflows, covering Autonomous loops. It works with Bash. The repository describes itself as: A collection of skills for AI agents (Kiro, Cursor, Windsurf, Claude Code, and others). Each skill is a reusable module that teaches the agent to perform complex tasks with… The licence is Apache-2.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f1de632. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Shell), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
apache.orgAlso links to:
github.comkiro.devFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ralph Loop Kiro Specs loads about 2.6k tokens when it runs, and up to ~6.6k if it reads all its reference files. Until then it costs about 218 tokens; SKILL.md has 932 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from fabricioctelles/skills at commit f1de632, republished under its Apache-2.0 licence (© fabricioctelles). 932 words, ~2,605 tokens.
.claude/skills/ralph-loop-kiro-specs/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.An automated, iterative agent runner that drives spec-based development in Kiro. It wraps kiro-cli in a bash loop, feeding it a carefully engineered prompt that turns Kiro into a disciplined, self-correcting implementation agent — one that picks up tasks from a spec, implements them, verifies its own work, and learns from its mistakes across iterations.
Attribution: Based on ralph-loop-kiro-specs by mreferre, licensed under Apache License 2.0.
| Requirement | Details |
|---|---|
| Kiro CLI | kiro-cli must be installed and on PATH (kiro.dev/cli) |
| Kiro IDE | kiro.dev installed |
| Bash | Standard bash shell |
| Kiro Specs | A project with specs under .kiro/specs/<specs_name>/ containing at least requirements.md, design.md, and tasks.md |
Ralph runs a loop where each iteration sends a prompt to kiro-cli. The prompt instructs the agent to follow a strict six-phase cycle:
product.md, structure.md, tech.md) and the target spec (requirements.md, design.md, tasks.md, progress.md). Take stock of available tools.progress.md, and apply every relevant correction proactively.[F] and log an unresolved blocker.requirements.md and design constraints from design.md. Confirm each is satisfied before marking complete.[X] in tasks.md, append a progress entry to progress.md, add new codebase patterns, do a final correction sweep, and record timing to specs_time.md.The Corrections section at the top of progress.md is a flat lookup table of mistakes and their fixes. Every iteration reads it before doing any work and must never repeat a listed mistake. Corrections are written immediately when errors happen — not at the end of the task.
Format:
- ❌ `python manage.py migrate` → ✅ `python3 manage.py migrate` (system has no `python` alias)
- ❌ Running tests with `npm test` → ✅ `npm run test:unit` (project uses separate test scripts)
- ❌ UNRESOLVED: [description of issue that couldn't be fixed after 5 attempts]Ralph accumulates conventions discovered during implementation — file naming, import patterns, error handling, testing commands, etc. Only patterns actually encountered are recorded, not speculative ones.
When all tasks are marked [X], Ralph generates a self-contained summary.html in the spec directory with:
The user's project should look like this before running Ralph:
your-project/
├── ralph-loop-kiro-specs-prompt.md # The Ralph agent prompt template
├── ralph-loop-kiro-specs-script.sh # The loop runner script
└── .kiro/
├── steering/
│ ├── product.md # What the product is
│ ├── structure.md # Project structure conventions
│ └── tech.md # Tech stack and tooling
└── specs/
└── <specs_name>/
├── requirements.md # Requirements and exit criteria
├── design.md # Architecture and design decisions
├── tasks.md # Task checklist
├── progress.md # Auto-created: corrections, patterns, progress log
├── specs_time.md # Auto-created: per-task timing
└── summary.html # Auto-generated on completion: visual dashboardTo set up Ralph Loop in a project:
ralph-loop-kiro-specs-script.sh — the loop runner (bundled in this skill under scripts/)ralph-loop-kiro-specs-prompt.md — the agent prompt template (bundled under references/)chmod +x ralph-loop-kiro-specs-script.sh.kiro/specs/<specs_name>/ with at least requirements.md, design.md, and tasks.md.kiro/steering/ (product.md, structure.md, tech.md) — these significantly improve output quality./ralph-loop-kiro-specs-script.sh <max_iterations> <specs_name>| Argument | Description |
|---|---|
max_iterations | Maximum number of loop iterations (positive integer). Each iteration implements one task. Set to at least the number of tasks plus a buffer for retries. |
specs_name | Name of the spec directory under .kiro/specs/. Must already exist with the required files. |
# Run up to 15 iterations on the "auth-feature" spec
./ralph-loop-kiro-specs-script.sh 15 auth-featureThe script asks at startup whether to run automatically or manually:
[F])Fix the issue manually, update tasks.md to unmark the task, and re-run. The corrections from the failed attempt will still be in progress.md for the next iteration to learn from.
Increase max_iterations and re-run. Ralph will pick up where it left off since it reads tasks.md to find the next incomplete task.
This violates the core constraint. Check that you're using the unmodified prompt template. The prompt has a critical constraint section at the top that enforces one-task-per-iteration.
Ralph works without them but produces better results with context. Create .kiro/steering/product.md, structure.md, and tech.md with descriptions of your product, project structure, and tech stack.
Before running Ralph Loop, verify:
kiro-cli is installed and available on PATH.kiro/specs/<specs_name>/requirements.md has numbered requirements with exit criteriadesign.md has architecture and design decisionstasks.md has a numbered task checklist with subtasks.kiro/steering/ (recommended)max_iterations is set to at least the number of tasks + bufferralph-loop-kiro-specs-prompt.md) is in the project rootralph-loop-kiro-specs-script.sh) is executable| Resource | Path | Description |
|---|---|---|
| Runner script | scripts/ralph-loop-kiro-specs-script.sh | The bash loop that drives iterations. Copy to project root. |
| Prompt template | references/ralph-loop-kiro-specs-prompt.md | The agent prompt template. Copy to project root. |
Read the prompt template when you need to understand the detailed phase instructions, correction format, codebase pattern categories, or the summary dashboard specification.
This skill is based on ralph-loop-kiro-specs by mreferre, licensed under the Apache License 2.0.
Copyright [mreferre]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.© fabricioctelles, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (scripts, references) in skills/ralph-loop-kiro-specs of fabricioctelles/skills.
Open the folder on GitHubat commit f1de632
Ralph Loop Kiro Specs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ralph Loop Kiro Specs this skillfabricioctelles/skills | 106 | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 10 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 | |
| Plugin Settings Patternanthropics/claude-plugins-official | 38k | 7 repos | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Show Me Your Work Decision Logcursor/plugins | 11k | 8 repos | ~1.6k | Automated safety check: Pass | None | |
| Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills | 21k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Autoresearch Iteration Loopuditgoenka/autoresearch | 6.5k | 1 repos | ~2k | Automated safety check: Pass | MIT |
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
anthropics/claude-plugins-official
Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.
cursor/plugins
Keeps a TSV decision log for long or unattended agent runs, one row per decision with what, why, evidence and result, so a reviewer can check the work later.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
uditgoenka/autoresearch
Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
fabricioctelles/skills
Produce a short motion-graphics video ad — a 15s Facebook/Instagram/TikTok spot — as a rendered MP4.
fabricioctelles/skills
Audit, score, and compare repositories containing portable Agent Plugins against the official Agent Plugins specification.
fabricioctelles/skills
Design well-structured agent loops with best-practice coaching and cross-model review gates before you run them.
fabricioctelles/skills
This skill should be used when the user needs to consume the Pier Cloud (Lighthouse) API for cloud cost management — including JWT authentication, listing contexts, workspaces, workspace groups, and…
fabricioctelles/skills
Runs security audits on codebases — full scans, diff reviews, threat models, vulnerability triage, remediation guidance, and finding tracking.
fabricioctelles/skills
Evaluate any agent skill against a merged framework — Anthropic's Claude Code best practices plus Matt Pocock's writing-great-skills methodology — across 4 axes (Trigger, Structure, Steering…
Works with
Categories
Automated iterative agent runner for spec-based development in Kiro. Ralph Loop Kiro Specs is an agent skill from fabricioctelles/skills. Automated iterative agent runner for spec-based development in Kiro.
Ralph Loop Kiro Specs fits situations like: the user mentions ralph loop; iterative spec runner; run my spec tasks automatically; kiro spec automation.
Run `npx skills add fabricioctelles/skills --skill ralph-loop-kiro-specs -a claude-code`. Or copy the skill folder (skills/ralph-loop-kiro-specs in fabricioctelles/skills) into .claude/skills/ralph-loop-kiro-specs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add fabricioctelles/skills --skill ralph-loop-kiro-specs -a codex`. Or copy the skill folder (skills/ralph-loop-kiro-specs in fabricioctelles/skills) into .agents/skills/ralph-loop-kiro-specs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fabricioctelles/skills --skill ralph-loop-kiro-specs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ralph-loop-kiro-specs, .gemini/skills/ralph-loop-kiro-specs, .github/skills/ralph-loop-kiro-specs and .opencode/skills/ralph-loop-kiro-specs in your project.
Going by SKILL.md and its folder, Ralph Loop Kiro Specs needs a shell for the scripts in its folder. Our summary lists: Python 3; A Bash shell.
SKILL.md names 3 domains. In commands or code: apache.org; the agent is likely to contact it when it follows the instructions. As links in the text: github.com and kiro.dev. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Ralph Loop Kiro Specs is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Ralph Loop Kiro Specs: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Plugin Settings Pattern (anthropics/claude-plugins-official, 38k stars), Show Me Your Work Decision Log (cursor/plugins, 11k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
fabricioctelles (a GitHub user) maintains it in fabricioctelles/skills, which has 106 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 4, 2026.
Source: fabricioctelles/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.