Diagnosing Superpowers Sessions
obra/superpowers
Investigates a session where Superpowers went wrong, reads the transcripts on disk and produces an evidence-cited report, optionally prepared as a bug report for the maintainers.
Fetch pre-computed insights from the Kayba API and build a structured summary.
$ npx skills add kayba-ai/agentic-context-engine --skill kayba-stage-1-api-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kayba-ai/agentic-context-engine kayba-stage-1-api-analysis --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/kayba-ai/agentic-context-engine.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/kayba-pipeline/stage-1-api-analysis .claude/skills/kayba-stage-1-api-analysis && 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 "kayba-stage-1-api-analysis" agent skill from https://github.com/kayba-ai/agentic-context-engine/tree/main/.claude/skills/kayba-pipeline/stage-1-api-analysis into .claude/skills/kayba-stage-1-api-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kayba-stage-1-api-analysis", 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/kayba-ai/agentic-context-engine/tree/main/.claude/skills/kayba-pipeline/stage-1-api-analysisType 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 kayba-ai/agentic-context-engine --skill kayba-stage-1-api-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kayba-ai/agentic-context-engine kayba-stage-1-api-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kayba-ai/agentic-context-engine.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/kayba-pipeline/stage-1-api-analysis .agents/skills/kayba-stage-1-api-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "kayba-stage-1-api-analysis" agent skill from https://github.com/kayba-ai/agentic-context-engine/tree/main/.claude/skills/kayba-pipeline/stage-1-api-analysis into .agents/skills/kayba-stage-1-api-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kayba-stage-1-api-analysis", 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 kayba-ai/agentic-context-engine --skill kayba-stage-1-api-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kayba-ai/agentic-context-engine kayba-stage-1-api-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kayba-ai/agentic-context-engine.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/kayba-pipeline/stage-1-api-analysis .cursor/skills/kayba-stage-1-api-analysis && 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 "kayba-stage-1-api-analysis" agent skill from https://github.com/kayba-ai/agentic-context-engine/tree/main/.claude/skills/kayba-pipeline/stage-1-api-analysis into .cursor/skills/kayba-stage-1-api-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kayba-stage-1-api-analysis", 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/kayba-ai/agentic-context-engine.git --path .claude/skills/kayba-pipeline/stage-1-api-analysis--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 kayba-ai/agentic-context-engine --skill kayba-stage-1-api-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kayba-ai/agentic-context-engine kayba-stage-1-api-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kayba-ai/agentic-context-engine.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/kayba-pipeline/stage-1-api-analysis .gemini/skills/kayba-stage-1-api-analysis && 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 "kayba-stage-1-api-analysis" agent skill from https://github.com/kayba-ai/agentic-context-engine/tree/main/.claude/skills/kayba-pipeline/stage-1-api-analysis into .gemini/skills/kayba-stage-1-api-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kayba-stage-1-api-analysis", 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 kayba-ai/agentic-context-engine kayba-stage-1-api-analysisInstalls 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 kayba-ai/agentic-context-engine --skill kayba-stage-1-api-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kayba-ai/agentic-context-engine.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/kayba-pipeline/stage-1-api-analysis .github/skills/kayba-stage-1-api-analysis && 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 "kayba-stage-1-api-analysis" agent skill from https://github.com/kayba-ai/agentic-context-engine/tree/main/.claude/skills/kayba-pipeline/stage-1-api-analysis into .github/skills/kayba-stage-1-api-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kayba-stage-1-api-analysis", 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 kayba-ai/agentic-context-engine --skill kayba-stage-1-api-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kayba-ai/agentic-context-engine kayba-stage-1-api-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kayba-ai/agentic-context-engine.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/kayba-pipeline/stage-1-api-analysis .opencode/skills/kayba-stage-1-api-analysis && 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 "kayba-stage-1-api-analysis" agent skill from https://github.com/kayba-ai/agentic-context-engine/tree/main/.claude/skills/kayba-pipeline/stage-1-api-analysis into .opencode/skills/kayba-stage-1-api-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kayba-stage-1-api-analysis", 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.
kayba-stage-1-api-analysisFetch pre-computed insights from the Kayba API and build a structured summary.
Kayba Stage 1 API Analysis is an agent skill from kayba-ai/agentic-context-engine. Fetch pre-computed insights from the Kayba API and build a structured summary. Does NOT upload traces or trigger generation — analysis is assumed to already exist. Trigger when the user says "run stage 1", "get insights", "fetch skills", "kayba analyze", or when invoked by the kayba-pipeline orchestrator. Requires the kayba CLI to be installed and KAYBAAPIKEY to be set.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows. The repository describes itself as: 🧠 Make your agents learn from experience. Now available as a hosted solution at kayba.ai. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 3a31983. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
KAYBA_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Kayba Stage 1 API Analysis loads about 1.1k tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 422 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); files beside SKILL.md are not scanned.
The full file from kayba-ai/agentic-context-engine at commit 3a31983, republished under its Apache-2.0 licence (© kayba-ai). 422 words, ~1,061 tokens.
.claude/skills/kayba-stage-1-api-analysis/SKILL.md (or your agent's skills folder).Fetch pre-computed insights from the Kayba API. Traces have already been uploaded and analyzed — this stage only pulls results.
TRACES_FOLDER — passed by the orchestrator but ignored in this stage. Traces are already uploaded and analyzed on the Kayba side. Do NOT upload, validate, or read trace files.Ensure eval/ directory exists at the project root.
kayba insights list --json > eval/insights.jsonIf kayba is not found in PATH, search common locations (.venv/bin/kayba, project virtualenvs). If found, use the full path. If not found anywhere, report the error and stop.
If KAYBA_API_KEY is not set, report the error and stop.
Read eval/insights.json and run quality checks before building the summary:
content fields pairwise. If two insights cover substantially the same behavior (same section, overlapping evidence traces, similar corrective action), flag them as potential duplicates in the summary. Do not remove them — just annotate.evidence field references specific traces (e.g., "task_7 turn 4"). Insights with no trace-specific evidence are lower quality — flag as "low-evidence" in the summary.status: "accepted" and helpful > 0 have been human-validated. Insights with status: "new" and helpful: 0, harmful: 0 are unvalidated — note this distinction in the summary.Log the quality gate result: "Insight quality: {total} insights, {accepted} accepted, {new_unvalidated} unvalidated, {duplicates} potential duplicate pairs, {low_evidence} low-evidence"
Extract a structured summary of each insight:
section field as the title)Write the structured summary to eval/stage1_insights_summary.md using this format:
# Kayba Insights Summary
Generated from: Kayba API (pre-computed analysis)
Total insights: N
Quality: {accepted} accepted, {unvalidated} unvalidated, {duplicate_pairs} potential duplicate pairs, {low_evidence} low-evidence
## Insight: [ID] — [section title]
**Status:** [status] [quality flags if any, e.g., "[potential duplicate with ID]", "[low-evidence]", "[unvalidated]"]
**Confidence:** [score if available]
**Evidence:**
- [citation 1 — trace reference, error string, or behavioral pattern]
- [citation 2]
**Justification:** [reflector's reasoning for why this is a real pattern]
**Helpful/Harmful:** [counts if available]
---
[repeat for each insight]kayba is not found in PATH or common locations, report the error and stopKAYBA_API_KEY is not set, report the error and stopkayba insights list fails (network error, auth error), report the error and stopeval/insights.json — raw API responseeval/stage1_insights_summary.md — structured summary with quality annotations for downstream stages© kayba-ai, 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
Just SKILL.md in .claude/skills/kayba-pipeline/stage-1-api-analysis of kayba-ai/agentic-context-engine.
Open the folder on GitHubat commit 3a31983
Kayba Stage 1 API Analysis 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 |
|---|---|---|---|---|---|---|
| Kayba Stage 1 API Analysis this skillkayba-ai/agentic-context-engine | 2.6k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Diagnosing Superpowers Sessionsobra/superpowers | 297k | 3 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Grillingpietheinstrengholt/rssmonster | 564 | 31 repos | ~510 | Automated safety check: Pass | MIT | |
| CodeGraph Agent Evalcolbymchenry/codegraph | 74k | — | ~950 | Automated safety check: Pass | MIT | |
| Improvefossasia/eventyay-interpretation | 1.6k | 10 repos | ~3.7k | Automated safety check: Warn | MIT | |
| Loop Change Verifiercobusgreyling/loop-engineering | 11k | 1 repos | ~709 | Automated safety check: Pass | MIT |
obra/superpowers
Investigates a session where Superpowers went wrong, reads the transcripts on disk and produces an evidence-cited report, optionally prepared as a bug report for the maintainers.
pietheinstrengholt/rssmonster
Grill the user relentlessly about a plan, decision, or idea.
colbymchenry/codegraph
Benchmarks how much CodeGraph helps a coding agent on a real repository, comparing runs with and without it for a chosen local or published version.
fossasia/eventyay-interpretation
Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute.
cobusgreyling/loop-engineering
Acts as a skeptical checker for changes an implementer sub-agent made, running the tests, confirming the diff scope and returning approve, reject or escalate to a human.
vostride/agent-qa
A skill your agent uses when creating, editing, validating, or running agent-qa tests, suites, or hooks.
kayba-ai/agentic-context-engine
End-to-end agent evaluation and improvement pipeline. An agent skill from kayba-ai/agentic-context-engine.
kayba-ai/agentic-context-engine
Gather domain context about the repository and agent — system prompt, tool definitions, domain docs, and behavior patterns from traces.
kayba-ai/agentic-context-engine
Define metrics from Kayba insights, implement them as Python measurement code, run against traces, and iterate until the metrics are clean and meaningful.
kayba-ai/agentic-context-engine
Organize computed metrics into a tiered evaluation rubric with leading, lagging, and quality indicators.
kayba-ai/agentic-context-engine
Triage each insight into discard/code-fix/prompt-fix and produce a prioritized action plan with specific recommendations.
kayba-ai/agentic-context-engine
Human-In-The-Loop gate that presents the action plan with full context, collects an informed approval/modification/rejection decision, and records the outcome.
Categories
Fetch pre-computed insights from the Kayba API and build a structured summary. Kayba Stage 1 API Analysis is an agent skill from kayba-ai/agentic-context-engine. Fetch pre-computed insights from the Kayba API and build a structured summary.
Kayba Stage 1 API Analysis fits situations like: generation — analysis is assumed to already exist; the user says run stage 1; invoked by the kayba-pipeline orchestrator.
Run `npx skills add kayba-ai/agentic-context-engine --skill kayba-stage-1-api-analysis -a claude-code`. Or copy the skill folder (.claude/skills/kayba-pipeline/stage-1-api-analysis in kayba-ai/agentic-context-engine) into .claude/skills/kayba-stage-1-api-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kayba-ai/agentic-context-engine --skill kayba-stage-1-api-analysis -a codex`. Or copy the skill folder (.claude/skills/kayba-pipeline/stage-1-api-analysis in kayba-ai/agentic-context-engine) into .agents/skills/kayba-stage-1-api-analysis 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 kayba-ai/agentic-context-engine --skill kayba-stage-1-api-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kayba-stage-1-api-analysis, .gemini/skills/kayba-stage-1-api-analysis, .github/skills/kayba-stage-1-api-analysis and .opencode/skills/kayba-stage-1-api-analysis in your project.
Going by SKILL.md and its folder, Kayba Stage 1 API Analysis needs credentials named KAYBA_API_KEY. Our summary lists: A credential in KAYBA_API_KEY.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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. Review the folder before installing.
Kayba Stage 1 API Analysis 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 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Kayba Stage 1 API Analysis: Diagnosing Superpowers Sessions (obra/superpowers, 297k stars), Grilling (pietheinstrengholt/rssmonster, 564 stars), CodeGraph Agent Eval (colbymchenry/codegraph, 74k stars) and Improve (fossasia/eventyay-interpretation, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kayba-ai (a GitHub organization) maintains it in kayba-ai/agentic-context-engine, which has 2,590 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 24, 2026.
Source: kayba-ai/agentic-context-engine on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.