[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6N2339FBCJEFPDHF4N3SF0Q":3,"skill-same:01M6N2339FBCJEFPDHF4N3SF0Q":132},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M6N2339FBCJEFPDHF4N3SF0Q","ralph-loops",null,"Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002FSKILL.md",[],[17,18,19],"ralph","loops","ralph loops","2026-11-10 10:12:30",false,"# Ralph Loops Skill\n\n> **First time?** Read [SETUP.md](.\u002FSETUP.md) first to install dependencies and verify your setup.\n\nAutonomous AI agent loops for iterative development. Based on Geoffrey Huntley's Ralph Wiggum technique, as documented by Clayton Farr.\n\n**Script:** `skills\u002Fralph-loops\u002Fscripts\u002Fralph-loop.mjs`\n**Dashboard:** `skills\u002Fralph-loops\u002Fdashboard\u002F` (run with `node server.mjs`)\n**Templates:** `skills\u002Fralph-loops\u002Ftemplates\u002F`\n**Archive:** `~\u002Fclawd\u002Flogs\u002Fralph-archive\u002F`\n\n---\n\n## ⚠️ Known Issues\n\n### Claude Code Version Compatibility\n\n**Claude Code 2.1.29 has a critical bug** that spawns orphaned sub-agents consuming 99% CPU. Iterations fail with \"exit code null\" on first run.\n\n**Fix:** Downgrade to 2.1.25:\n```bash\nnpm install -g @anthropic-ai\u002Fclaude-code@2.1.25\n```\n\n**Verify:**\n```bash\nclaude --version  # Should show 2.1.25\n```\n\nThis was discovered 2026-02-01. Check if newer versions fix the issue before upgrading.\n\n---\n\n## ⚠️ Don't Block the Conversation!\n\nWhen running a Ralph loop, **don't monitor it synchronously**. The loop runs as a separate Claude CLI process — you can keep chatting.\n\n**❌ Wrong (blocks conversation):**\n```\nStart loop → sleep 60 → poll → sleep 60 → poll → ... (6 minutes of silence)\n```\n\n**✅ Right (stays responsive):**\n```\nStart loop → \"It's running, I'll check periodically\" → keep chatting → check on heartbeats\n```\n\n**How to monitor without blocking:**\n1. Start the loop with `node ralph-loop.mjs ...` (runs in background)\n2. Tell human: \"Loop running. I'll check progress periodically or you can ask.\"\n3. Check via `process poll \u003CsessionId>` when asked or during heartbeats\n4. Use the dashboard at http:\u002F\u002Flocalhost:3939 for real-time visibility\n\n**The loop is autonomous** — that's the whole point. Don't babysit it at the cost of ignoring your human.\n\n---\n\n## Trigger Phrases\n\nWhen human says:\n\n| Phrase | Action |\n|--------|--------|\n| **\"Interview me about system X\"** | Start Phase 1 requirements interview |\n| **\"Start planning system X\"** | Run `.\u002Floop.sh plan` (needs specs first) |\n| **\"Start building system X\"** | Run `.\u002Floop.sh build` (needs plan first) |\n| **\"Ralph loop over X\"** | **ASK which phase** (see below) |\n\n### When Human Says \"Ralph Loop\" — Clarify the Phase!\n\nDon't assume which phase. Ask:\n\n> \"Which type of Ralph loop are we doing?\n> \n> 1️⃣ **Interview** — I'll ask you questions to build specs (Phase 1)\n> 2️⃣ **Planning** — I'll iterate on an implementation plan (Phase 2)  \n> 3️⃣ **Building** — I'll implement from a plan, one task per iteration (Phase 3)\n> 4️⃣ **Generic** — Simple iterative refinement on a single topic\"\n\n**Then proceed based on their answer:**\n\n| Choice | Action |\n|--------|--------|\n| Interview | Use `templates\u002Frequirements-interview.md` protocol |\n| Planning | Need specs first → run planning loop with `PROMPT_plan.md` |\n| Building | Need plan first → run build loop with `PROMPT_build.md` |\n| Generic | Create prompt file, run `ralph-loop.mjs` directly |\n\n### Generic Ralph Loop Flow (Phase 4)\n\nFor simple iterative refinement (not full system builds):\n\n1. **Clarify the task** — What exactly should be improved\u002Frefined?\n2. **Create a prompt file** — Save to `\u002Ftmp\u002Fralph-prompt-\u003Ctask>.md`\n3. **Set completion criteria** — What signals \"done\"?\n4. **Run the loop:**\n   ```bash\n   node skills\u002Fralph-loops\u002Fscripts\u002Fralph-loop.mjs \\\n     --prompt \"\u002Ftmp\u002Fralph-prompt-\u003Ctask>.md\" \\\n     --model opus \\\n     --max 10 \\\n     --done \"RALPH_DONE\"\n   ```\n5. **Or spawn as sub-agent** for long-running tasks\n\n---\n\n## Core Philosophy\n\n> \"Human roles shift from 'telling the agent what to do' to 'engineering conditions where good outcomes emerge naturally through iteration.\"\n> — Clayton Farr\n\nThree principles drive everything:\n\n1. **Context is scarce** — With ~176K usable tokens from a 200K window, keep each iteration lean\n2. **Plans are disposable** — A drifting plan is cheaper to regenerate than salvage\n3. **Backpressure beats direction** — Engineer environments where wrong outputs get rejected automatically\n\n---\n\n## Three-Phase Workflow\n\n```\n┌─────────────────────────────────────────────────────────────────────┐\n│  Phase 1: REQUIREMENTS                                              │\n│  Human + LLM conversation → JTBD → Topics → specs\u002F*.md              │\n├─────────────────────────────────────────────────────────────────────┤\n│  Phase 2: PLANNING                                                  │\n│  Gap analysis (specs vs code) → IMPLEMENTATION_PLAN.md              │\n├─────────────────────────────────────────────────────────────────────┤\n│  Phase 3: BUILDING                                                  │\n│  One task per iteration → fresh context → backpressure → commit     │\n└─────────────────────────────────────────────────────────────────────┘\n```\n\n### Phase 1: Requirements (Talk to Human)\n\n**Goal:** Understand what to build BEFORE building it.\n\nThis is the most important phase. Use structured conversation to:\n\n1. **Identify Jobs to Be Done (JTBD)**\n   - What user need or outcome are we solving?\n   - Not features — outcomes\n\n2. **Break JTBD into Topics of Concern**\n   - Each topic = one distinct aspect\u002Fcomponent\n   - Use the \"one sentence without 'and'\" test\n   - ✓ \"The color extraction system analyzes images to identify dominant colors\"\n   - ✗ \"The user system handles authentication, profiles, and billing\" → 3 topics\n\n3. **Create Specs for Each Topic**\n   - One markdown file per topic in `specs\u002F`\n   - Capture requirements, acceptance criteria, edge cases\n\n**Template:** `templates\u002Frequirements-interview.md`\n\n### Phase 2: Planning (Gap Analysis)\n\n**Goal:** Create a prioritized task list without implementing anything.\n\nUses `PROMPT_plan.md` in the loop:\n- Study all specs\n- Study existing codebase\n- Compare specs vs code (gap analysis)\n- Generate `IMPLEMENTATION_PLAN.md` with prioritized tasks\n- **NO implementation** — planning only\n\nUsually completes in 1-2 iterations.\n\n### Phase 3: Building (One Task Per Iteration)\n\n**Goal:** Implement tasks one at a time with fresh context.\n\nUses `PROMPT_build.md` in the loop:\n1. Read `IMPLEMENTATION_PLAN.md`\n2. Pick the most important task\n3. Investigate codebase (don't assume not implemented)\n4. Implement\n5. Run validation (backpressure)\n6. Update plan, commit\n7. Exit → fresh context → next iteration\n\n**Key insight:** One task per iteration keeps context lean. The agent stays in the \"smart zone\" instead of accumulating cruft.\n\n**Why fresh context matters:**\n- **No accumulated mistakes** — Each iteration starts clean; previous errors don't compound\n- **Full context budget** — 200K tokens for THIS task, not shared with finished work\n- **Reduced hallucination** — Shorter contexts = more grounded responses\n- **Natural checkpoints** — Each commit is a save point; easy to revert single iterations\n\n---\n\n## File Structure\n\n```\nproject\u002F\n├── loop.sh                    # Ralph loop script\n├── PROMPT_plan.md             # Planning mode instructions\n├── PROMPT_build.md            # Building mode instructions  \n├── AGENTS.md                  # Operational guide (~60 lines max)\n├── IMPLEMENTATION_PLAN.md     # Prioritized task list (generated)\n└── specs\u002F                     # Requirement specs\n    ├── topic-a.md\n    ├── topic-b.md\n    └── ...\n```\n\n### File Purposes\n\n| File | Purpose | Who Creates |\n|------|---------|-------------|\n| `specs\u002F*.md` | Source of truth for requirements | Human + Phase 1 |\n| `PROMPT_plan.md` | Instructions for planning mode | Copy from template |\n| `PROMPT_build.md` | Instructions for building mode | Copy from template |\n| `AGENTS.md` | Build\u002Ftest\u002Flint commands | Human + Ralph |\n| `IMPLEMENTATION_PLAN.md` | Task list with priorities | Ralph (Phase 2) |\n\n### Project Organization (Systems)\n\nFor Clawdbot systems, each Ralph project lives in `\u003Cworkspace>\u002Fsystems\u002F\u003Cname>\u002F`:\n\n```\nsystems\u002F\n├── health-tracker\u002F           # Example system\n│   ├── specs\u002F\n│   │   ├── daily-tracking.md\n│   │   └── test-scheduling.md\n│   ├── PROMPT_plan.md\n│   ├── PROMPT_build.md\n│   ├── AGENTS.md\n│   ├── IMPLEMENTATION_PLAN.md  # ← exists = past Phase 1\n│   └── src\u002F\n└── activity-planner\u002F\n    ├── specs\u002F                  # ← empty = still in Phase 1\n    └── ...\n```\n\n### Phase Detection (Auto)\n\nDetect current phase by checking what files exist:\n\n| What Exists | Current Phase | Next Action |\n|-------------|---------------|-------------|\n| Nothing \u002F empty `specs\u002F` | Phase 1: Requirements | Run requirements interview |\n| `specs\u002F*.md` but no `IMPLEMENTATION_PLAN.md` | Ready for Phase 2 | Run `.\u002Floop.sh plan` |\n| `specs\u002F*.md` + `IMPLEMENTATION_PLAN.md` | Phase 2 or 3 | Review plan, run `.\u002Floop.sh build` |\n| Plan shows all tasks complete | Done | Archive or iterate |\n\n**Quick check:**\n```bash\n# What phase are we in?\n[ -z \"$(ls specs\u002F 2>\u002Fdev\u002Fnull)\" ] && echo \"Phase 1: Need specs\" && exit\n[ ! -f IMPLEMENTATION_PLAN.md ] && echo \"Phase 2: Need plan\" && exit\necho \"Phase 3: Ready to build (or done)\"\n```\n\n---\n\n## JTBD Breakdown\n\nThe hierarchy matters:\n\n```\nJTBD (Job to Be Done)\n└── Topic of Concern (1 per spec file)\n    └── Tasks (many per topic, in IMPLEMENTATION_PLAN.md)\n```\n\n**Example:**\n- **JTBD:** \"Help designers create mood boards\"\n- **Topics:**\n  - Image collection → `specs\u002Fimage-collection.md`\n  - Color extraction → `specs\u002Fcolor-extraction.md`\n  - Layout system → `specs\u002Flayout-system.md`\n  - Sharing → `specs\u002Fsharing.md`\n- **Tasks:** Each spec generates multiple implementation tasks\n\n### Topic Scope Test\n\n> Can you describe the topic in one sentence without \"and\"?\n\nIf you need \"and\" or \"also\", it's probably multiple topics. Split it.\n\n**When to split:**\n- Multiple verbs in the description → separate topics\n- Different user personas involved → separate topics\n- Could be implemented by different teams → separate topics\n- Has its own failure modes → probably its own topic\n\n**Example split:**\n```\n❌ \"User management handles registration, authentication, profiles, and permissions\"\n\n✅ Split into:\n   - \"Registration creates new user accounts from email\u002Fpassword\"\n   - \"Authentication verifies user identity via login flow\"  \n   - \"Profiles let users view and edit their information\"\n   - \"Permissions control what actions users can perform\"\n```\n\n**Counter-example (don't split):**\n```\n✅ Keep together:\n   \"Color extraction analyzes images and returns dominant color palettes\"\n   \n   Why: \"analyzes\" and \"returns\" are steps in one operation, not separate concerns.\n```\n\n---\n\n## Backpressure Mechanisms\n\nAutonomous loops converge when wrong outputs get rejected. Three layers:\n\n### 1. Downstream Gates (Hard)\nTests, type-checking, linting, build validation. Deterministic.\n```markdown\n# In AGENTS.md\n## Validation\n- Tests: `npm test`\n- Typecheck: `npm run typecheck`\n- Lint: `npm run lint`\n```\n\n### 2. Upstream Steering (Soft)\nExisting code patterns guide the agent. It discovers conventions through exploration.\n\n### 3. LLM-as-Judge (Subjective)\nFor subjective criteria (tone, UX, aesthetics), use another LLM call with binary pass\u002Ffail.\n\n> Start with hard gates. Add LLM-as-judge for subjective criteria only after mechanical backpressure works.\n\n---\n\n## Prompt Structure\n\nGeoffrey's prompts follow a numbered pattern:\n\n| Section | Purpose |\n|---------|---------|\n| 0a-0d | **Orient:** Study specs, source, current plan |\n| 1-4 | **Main instructions:** What to do this iteration |\n| 999+ | **Guardrails:** Invariants (higher number = more critical) |\n\n### The Numbered Guardrails Pattern\n\nGuardrails use escalating numbers (99999, 999999, 9999999...) to signal priority:\n\n```markdown\n99999. Important: Capture the why in documentation.\n\n999999. Important: Single sources of truth, no migrations.\n\n9999999. Create git tags after successful builds.\n\n99999999. Add logging if needed to debug.\n\n999999999. Keep IMPLEMENTATION_PLAN.md current.\n```\n\n**Why this works:**\n1. **Visual prominence** — Large numbers stand out, harder to skip\n2. **Implicit priority** — More 9s = more critical (like DEFCON levels in reverse)\n3. **No collisions** — Sparse numbering lets you insert new rules without renumbering\n4. **Mnemonic** — Claude treats these as invariants, not suggestions\n\n**The \"Important:\" prefix** is deliberate — it triggers Claude's attention.\n\n### Key Language Patterns\n\nUse Geoffrey's specific phrasing — it matters:\n\n- \"study\" (not \"read\" or \"look at\")\n- \"don't assume not implemented\" (critical!)\n- \"using parallel subagents\" \u002F \"up to N subagents\"\n- \"only 1 subagent for build\u002Ftests\" (backpressure control)\n- \"Ultrathink\" (deep reasoning trigger)\n- \"capture the why\"\n- \"keep it up to date\"\n- \"resolve them or document them\"\n\n---\n\n## Quick Start\n\n### 1. Set Up Project Structure\n\n```bash\nmkdir -p myproject\u002Fspecs\ncd myproject\ngit init  # Ralph expects git for commits\n\n# Copy templates\ncp .\u002F\u002Ftemplates\u002FPROMPT_plan.md .\ncp .\u002F\u002Ftemplates\u002FPROMPT_build.md .\ncp .\u002F\u002Ftemplates\u002FAGENTS.md .\ncp .\u002F\u002Ftemplates\u002Floop.sh .\nchmod +x loop.sh\n```\n\n### 2. Customize Templates (Required!)\n\n**PROMPT_plan.md** — Replace `[PROJECT_GOAL]` with your actual goal:\n```markdown\n# Before:\nULTIMATE GOAL: We want to achieve [PROJECT_GOAL].\n\n# After:\nULTIMATE GOAL: We want to achieve a fully functional mood board app with image upload and color extraction.\n```\n\n**PROMPT_build.md** — Adjust source paths if not using `src\u002F`:\n```markdown\n# Before:\n0c. For reference, the application source code is in `src\u002F*`.\n\n# After:\n0c. For reference, the application source code is in `lib\u002F*`.\n```\n\n**AGENTS.md** — Update build\u002Ftest\u002Flint commands for your stack.\n\n### 3. Phase 1: Requirements Gathering (Don't Skip!)\n\nThis phase happens WITH the human. Use the interview template:\n\n```bash\ncat .\u002F\u002Ftemplates\u002Frequirements-interview.md\n```\n\n**The workflow:**\n1. Discuss the JTBD (Job to Be Done) — outcomes, not features\n2. Break into Topics of Concern (each passes the \"one sentence\" test)\n3. Write a spec file for each topic: `specs\u002Ftopic-name.md`\n4. Human reviews and approves specs\n\n**Example output:**\n```\nspecs\u002F\n├── image-collection.md\n├── color-extraction.md\n├── layout-system.md\n└── sharing.md\n```\n\n### 4. Phase 2: Planning\n\n```bash\n.\u002Floop.sh plan\n```\n\nWait for `IMPLEMENTATION_PLAN.md` to be generated (usually 1-2 iterations). Review it — this is your task list.\n\n### 5. Phase 3: Building\n\n```bash\n.\u002Floop.sh build 20  # Max 20 iterations\n```\n\nWatch it work. Add backpressure (tests, lints) as patterns emerge. Check commits for progress.\n\n---\n\n## Loop Script Options\n\n```bash\n.\u002Floop.sh              # Build mode, unlimited\n.\u002Floop.sh 20           # Build mode, max 20 iterations\n.\u002Floop.sh plan         # Plan mode, unlimited\n.\u002Floop.sh plan 5       # Plan mode, max 5 iterations\n```\n\nOr use the Node.js wrapper for more control:\n\n```bash\nnode skills\u002Fralph-loops\u002Fscripts\u002Fralph-loop.mjs \\\n  --prompt \".\u002FPROMPT_build.md\" \\\n  --model opus \\\n  --max 20 \\\n  --done \"RALPH_DONE\"\n```\n\n---\n\n## When to Regenerate the Plan\n\nPlans drift. Regenerate when:\n\n- Ralph is going off track (implementing wrong things)\n- Plan feels stale or doesn't match current state\n- Too much clutter from completed items\n- You've made significant spec changes\n- You're confused about what's actually done\n\nJust switch back to planning mode:\n\n```bash\n.\u002Floop.sh plan\n```\n\nRegeneration cost is one Planning loop. Cheap compared to Ralph going in circles.\n\n---\n\n## Safety\n\nRalph requires `--dangerously-skip-permissions` to run autonomously. This bypasses Claude's permission system entirely.\n\n**Philosophy:** \"It's not if it gets popped, it's when. And what is the blast radius?\"\n\n**Protections:**\n- Run in isolated environments (Docker, VM)\n- Only the API keys needed for the task\n- No access to private data beyond requirements\n- Restrict network connectivity where possible\n- **Escape hatches:** Ctrl+C stops the loop; `git reset --hard` reverts uncommitted changes\n\n---\n\n## Cost Expectations\n\n| Task Type | Model | Iterations | Est. Cost |\n|-----------|-------|------------|-----------|\n| Generate plan | Opus | 1-2 | $0.50-1.00 |\n| Implement simple feature | Opus | 3-5 | $1.00-2.00 |\n| Implement complex feature | Opus | 10-20 | $3.00-8.00 |\n| Full project buildout | Opus | 50+ | $15-50+ |\n\n**Tip:** Use Sonnet for simpler tasks where plan is clear. Use Opus for planning and complex reasoning.\n\n---\n\n## Real-World Results\n\nFrom Geoffrey Huntley:\n- 6 repos generated overnight at YC hackathon\n- $50k contract completed for $297 in API costs\n- Created entire programming language over 3 months\n\n---\n\n## Advanced: Running as Sub-Agent\n\nFor long loops, spawn as sub-agent so main session stays responsive:\n\n```javascript\nsessions_spawn({\n  task: `cd \u002Fpath\u002Fto\u002Fproject && .\u002Floop.sh build 20\n         \nSummarize what was implemented when done.`,\n  label: \"ralph-build\",\n  model: \"opus\"\n})\n```\n\nCheck progress:\n```javascript\nsessions_list({ kinds: [\"spawn\"] })\nsessions_history({ label: \"ralph-build\", limit: 5 })\n```\n\n---\n\n## Troubleshooting\n\n### Ralph keeps implementing the same thing\n- Plan is stale → regenerate with `.\u002Floop.sh plan`\n- Backpressure missing → add tests that catch duplicates\n\n### Ralph goes in circles\n- Add more specific guardrails to prompts\n- Check if specs are ambiguous\n- Regenerate plan\n\n### Context getting bloated\n- Ensure one task per iteration (check prompt)\n- Keep AGENTS.md under 60 lines\n- Move status\u002Fprogress to IMPLEMENTATION_PLAN.md, not AGENTS.md\n\n### Tests not running\n- Check AGENTS.md has correct validation commands\n- Ensure backpressure section in prompt references AGENTS.md\n\n---\n\n## Edge Cases\n\n### Projects Without Git\n\nThe loop script expects git for commits and pushes. For projects without version control:\n\n**Option 1: Initialize git anyway** (recommended)\n```bash\ngit init\ngit add -A\ngit commit -m \"Initial commit before Ralph\"\n```\n\n**Option 2: Modify the prompts**\n- Remove git-related guardrails from PROMPT_build.md\n- Remove the git push section from loop.sh\n- Use file backups instead: add `cp -r src\u002F backups\u002Fiteration-$ITERATION\u002F` to loop.sh\n\n**Option 3: Use tarball snapshots**\n```bash\n# Add to loop.sh before each iteration:\ntar -czf \"snapshots\u002Fpre-iteration-$ITERATION.tar.gz\" src\u002F\n```\n\n### Very Large Codebases\n\nFor codebases with 100K+ lines:\n\n- **Reduce subagent parallelism:** Change \"up to 500 parallel Sonnet subagents\" to \"up to 50\" in prompts\n- **Scope narrowly:** Use focused specs that target specific directories\n- **Add path restrictions:** In AGENTS.md, note which directories are in-scope\n- **Consider workspace splitting:** Treat large modules as separate Ralph projects\n\n### When Claude CLI Isn't Available\n\nThe methodology works with any Claude interface:\n\n**Claude API directly:**\n```bash\n# Replace loop.sh with API calls using curl or a script\ncurl https:\u002F\u002Fapi.anthropic.com\u002Fv1\u002Fmessages \\\n  -H \"x-api-key: $ANTHROPIC_API_KEY\" \\\n  -H \"content-type: application\u002Fjson\" \\\n  -d '{\"model\": \"claude-sonnet-4-20250514\", \"max_tokens\": 8192, \"messages\": [...]}'\n```\n\n**Alternative agents:**\n- **Aider:** `aider --opus --auto-commits`\n- **Continue.dev:** Use with Claude API key\n- **Cursor:** Composer mode with PROMPT files as context\n\nThe key principles (one task per iteration, fresh context, backpressure) apply regardless of tooling.\n\n### Non-Node.js Projects\n\nAdapt AGENTS.md for your stack:\n\n| Stack | Build | Test | Lint |\n|-------|-------|------|------|\n| Python | `pip install -e .` | `pytest` | `ruff .` |\n| Go | `go build .\u002F...` | `go test .\u002F...` | `golangci-lint run` |\n| Rust | `cargo build` | `cargo test` | `cargo clippy` |\n| Ruby | `bundle install` | `rspec` | `rubocop` |\n\nAlso update path references in prompts (`src\u002F*` → your source directory).\n\n---\n\n## Learn More\n\n- Geoffrey Huntley: https:\u002F\u002Fghuntley.com\u002Fralph\u002F\n- Clayton Farr's Playbook: https:\u002F\u002Fgithub.com\u002FClaytonFarr\u002Fralph-playbook\n- Geoffrey's Fork: https:\u002F\u002Fgithub.com\u002Fghuntley\u002Fhow-to-ralph-wiggum\n\n---\n\n## Credits\n\nBuilt by **Johnathan & Q** — a human-AI dyad.\n\n- Twitter: [@spacepixel](https:\u002F\u002Fx.com\u002Fspacepixel)\n- ClawdHub: [clawhub.ai\u002Fskills\u002Fralph-loops](https:\u002F\u002Fwww.clawhub.ai\u002Fskills\u002Fralph-loops)\n",{},"main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","人工智能与大型语言模型\u002Fralph-loops",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill ralph-loops",{"tool":38,"command":39},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill ralph-loops",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill ralph-loops","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002FSKILL.md",true,[46,52,58,62,66,70,74,78,82,86,92,96,100,104,108,112,116,120,124,128],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"_meta.json","REFERENCE","参考文档",282,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002F_meta.json",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"dashboard\u002Flib\u002Fcost-calculator.mjs","SCRIPT","脚本",1364,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Flib\u002Fcost-calculator.mjs",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"dashboard\u002Flib\u002Floop-detector.mjs",9716,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Flib\u002Floop-detector.mjs",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"dashboard\u002Flib\u002Fralph-reader.mjs",8582,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Flib\u002Fralph-reader.mjs",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"dashboard\u002Flib\u002Ftranscript-reader.mjs",5802,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Flib\u002Ftranscript-reader.mjs",{"path":71,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":72,"sourceHtmlUrl":73},"dashboard\u002Fpackage-lock.json",30276,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Fpackage-lock.json",{"path":75,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":76,"sourceHtmlUrl":77},"dashboard\u002Fpackage.json",393,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Fpackage.json",{"path":79,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":80,"sourceHtmlUrl":81},"dashboard\u002Fpublic\u002Fdashboard.js",15597,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Fpublic\u002Fdashboard.js",{"path":83,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":84,"sourceHtmlUrl":85},"dashboard\u002Fpublic\u002Findex.html",14041,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Fpublic\u002Findex.html",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"dashboard\u002Fpublic\u002Fstyle.css","OTHER","其他",7566,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Fpublic\u002Fstyle.css",{"path":93,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":94,"sourceHtmlUrl":95},"dashboard\u002Froutes\u002Floops.mjs",3881,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Froutes\u002Floops.mjs",{"path":97,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":98,"sourceHtmlUrl":99},"dashboard\u002Fserver.mjs",2454,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Fserver.mjs",{"path":101,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":102,"sourceHtmlUrl":103},"dashboard\u002Fstart.sh",406,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fdashboard\u002Fstart.sh",{"path":105,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Fralph-loop.mjs",16832,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Fscripts\u002Fralph-loop.mjs",{"path":109,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":110,"sourceHtmlUrl":111},"SETUP.md",1985,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002FSETUP.md",{"path":113,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":114,"sourceHtmlUrl":115},"templates\u002FAGENTS.md",626,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Ftemplates\u002FAGENTS.md",{"path":117,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":118,"sourceHtmlUrl":119},"templates\u002Floop.sh",3495,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Ftemplates\u002Floop.sh",{"path":121,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":122,"sourceHtmlUrl":123},"templates\u002FPROMPT_build.md",3717,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Ftemplates\u002FPROMPT_build.md",{"path":125,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":126,"sourceHtmlUrl":127},"templates\u002FPROMPT_plan.md",2009,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Ftemplates\u002FPROMPT_plan.md",{"path":129,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":130,"sourceHtmlUrl":131},"templates\u002Frequirements-interview.md",6467,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fralph-loops\u002Ftemplates\u002Frequirements-interview.md",[133,157,180,188,195,222],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":20},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[135,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":158,"name":159,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":20},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[163,164,165,166,167,168,169,142,170,146,171,172,173,174,175,176,177,178,179],"api","zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":181,"name":182,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":20},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[163,186,187,164,165,166,167,168,169,142,170,146,172,173,174,175,176,177,178,179],"api skill","zerion api skill",{"skillNo":189,"name":190,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":20},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[166,163,194,164,165,167,168,142,170,146,171,172,173,174,175,176,177,178,179],"zerion api mcp",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":20},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data","for",{"skillNo":223,"name":224,"nameZh":6,"description":225,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":226,"categories":227,"keywords":228,"publishedAt":20},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[202,203,205,229,230,231,232,233,234,213,235,236,237,238,239,240,241,242,179,220],"cli","homebrew","find","check","brew","up","local","get","stock","link","trending","sf","quotes","ln"]