Self-Improving — Extract
Extract recurring solutions into reusable skills.
$skillfish add ~skills/self-improving-agent-extract Real Conversations
See how the Self-Improving — Extract skill responds to actual requests. These are representative examples of what your AI agent will produce.
I keep hitting the same Docker platform mismatch error on my M2 Mac across multiple projects: WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8). Can you extract this into a reusable skill so I stop debugging it from scratch?
Perfect extraction candidate — non-obvious, recurring across projects, multi-step fix. Creating docker-m1-fixes.
Searching MEMORY.md... Found 3 related entries across 2 sessions.
Generated: docker-m1-fixes/SKILL.md
---
name: docker-m1-fixes
description: Fix Docker platform mismatch on Apple Silicon (M1/M2). Use when: seeing linux/amd64 vs linux/arm64 warning or containers fail to start on Mac.
---
## Quick Reference
| Problem | Solution |
|---|---|
| platform mismatch warning | Add `--platform linux/amd64` to build |
| Container fails to start on M1/M2 | Set `DOCKER_DEFAULT_PLATFORM=linux/amd64` |
| Slow builds via Rosetta | Use native `linux/arm64` image if available |
## Solutions
### Option 1: Build flag (one-time)
```bash
docker build --platform linux/amd64 -t myapp .
Option 2: docker-compose.yml (persistent)
services:
app:
platform: linux/amd64
Option 3: Global env var
export DOCKER_DEFAULT_PLATFORM=linux/amd64 # add to .zshrc
**Files created:**
docker-m1-fixes/SKILL.md (47 lines) docker-m1-fixes/README.md (18 lines) docker-m1-fixes/reference/examples.md (32 lines)
**Install anywhere:** `skillfish add ./docker-m1-fixes`
MEMORY.md entries retained — the skill is portable, the memory stays project-specific. Publish to clawhub?
Get Started
How to install and use this skill in your preferred environment.
Skills are designed for AI coding agents (Claude Code, Cursor, Windsurf) and IDE-based workflows where the agent can read files, run scripts, and act on your codebase. Web-based AI can use the knowledge and frameworks, but won't have tool access.
Models & Context
Which AI models and context windows work best with this skill.
Recommended Models
Larger models produce more detailed, production-ready outputs.
Context Window
This skill's SKILL.md is typically 3–10 KB — fits in any modern context window.
All current frontier models (Claude, GPT, Gemini) support 100K+ context. Use the full window for complex multi-service work.
Pro tips for best results
Be specific
Include numbers — users, budget, RPS — so the skill can size the architecture.
Share constraints
Compliance needs, team size, and existing stack all improve the output.
Iterate
Start with a high-level design, then ask follow-ups for IaC, cost analysis, or security review.
Combine skills
Pair with companion skills below for end-to-end coverage.
Ready to try Self-Improving — Extract?
Install the skill and start getting expert-level guidance in your workflow — any agent, any IDE.
$skillfish add ~skills/self-improving-agent-extract