mahmoud20138/autopilot/autopilot
Claude Code and agent skill by mahmoud20138/autopilot
- community
Checking that the SKILL.md file is still in the repository.
Autonomous orchestrator that takes a goal, discovers available tools and skills, decomposes into phases, maps phases to skills, executes, and monitors until the project is done. Use when the user wants full autonomous execution of a complex goal.
Install
npx vskill@latest install mahmoud20138/autopilot/autopilotSKILL.md
The same SKILL.md was published earlier as mahmoud20138/autopilot/autopilot.
Autopilot Agent Mode
Fully autonomous orchestrator. Takes a user's goal, runs it to completion without human intervention.
Announce at start: "I'm using the Autopilot skill to autonomously accomplish: {user_goal}"
Core principle: Orchestrate existing skills and tools — never implement phases from scratch when a skill already covers the task. Each phase delegates to the most appropriate skill or set of tools.
Portability: Works with Claude Code, OpenClaude, GitHub Copilot CLI, Cursor, and Kilo. Dynamically discovers available skills, MCP servers, integrations, and CLI tools — no hardcoded assumptions.
Pipeline
Stop Conditions
Stop only when:
- All phases completed successfully
- Final verification passes (typecheck, build, runtime check, no blockers)
- Project goal achieved
Never stop for:
- "Should I continue?" prompts between phases
- Progress summaries mid-execution
- Asking permission to proceed to the next phase
Pause only if:
- Hard blocker that no skill or tool can resolve (missing external credential, genuinely ambiguous requirement with no safe assumption)
- Report the blocker precisely and wait for user input
- Resume from the current phase once the blocker is resolved
Step 0 — Memory Check (Always First)
Check if .agents/memory/MEMORY.md exists. If it does, read it and open any topic files relevant to the current goal. Apply documented constraints and past decisions immediately. If a past decision conflicts with what you observe now, trust the code and update the memory after the task.
If the file doesn't exist, create it with a minimal header and a note that this is the first autopilot session for this project:
Step 1 — Discovery
Build an inventory of everything available on this system. Run discovery once per autopilot session.
1a. Scan Skills Sources
Skills can be loaded at runtime via the skill tool, which matches against the available_skills list in the system prompt. Discover skills from ALL sources:
Source 1 — System Prompt `available_skills`: Scan the system context for the <available_skills> block. Each skill entry has a name and description. These are loadable via the skill tool by name. Add them to the catalog with source "system".
Source 2 — Skills Directory: Check multiple known skills directories:
| CLI | Skills Directory | |
|---|---|---|
| Claude Code | ~/.claude/skills/ | |
| OpenClaude | ~/.openclaude/skills/ | |
| GitHub Copilot | ~/.config/github-copilot/skills/ | |
| Cursor | ~/.cursor/skills/ | |
| Kilo | ~/.config/kilo/skills/ |
For each directory that exists, iterate over subdirectories looking for SKILL.md files. Read the YAML frontmatter to extract:
name:fielddescription:field
Source 3 — Online Marketplace & Browser Search (Proactive): Proactively search online registries, GitHub, and marketplaces for skills and plugins matching the goal — run during discovery, NOT deferred. Use these methods in order:
a. Curated reference sources (check FIRST): Fetch these known, maintained registries for matching skills/plugins/MCP servers:
| Source | URL | What to search for | |
|---|---|---|---|
| Awesome MCP Servers | https://github.com/punkpeye/awesome-mcp-servers | MCP servers matching the goal domain | |
| Agents Collection | https://github.com/wshobson/agents | Agent skills matching the phase needs | |
| Claude Code Plugins+Skills | https://github.com/jeremylongshore/claude-code-plugins-plus-skills | Claude Code plugins and skills for the goal | |
| CC Marketplace | https://github.com/ananddtyagi/cc-marketplace | Marketplace skills and plugins | |
| Build With Claude | https://buildwithclaude.com/plugins | Claude plugins for the goal domain |
Use webfetch on each URL, then search the page content for entries matching the goal keywords. For any matching entry, extract the GitHub URL, skill name, description, and install method.
b. find-skills skill — If in available_skills, load it to search across known marketplaces. c. npx skills search <topic> — If the opencode or skills CLI is available. d. Web Search — Use websearch as fallback to search for:
- GitHub topics:
topic:opencode-skill,topic:claude-code-skill,topic:claude-code-plugin - Direct search:
"opencode skill" <goal-keyword>,"claude code skill" <goal-keyword> - Plugin ecosystems:
"mcp server" <domain>,"plugin" <goal-keyword>
e. Website Fetch — Use webfetch to crawl skill registry pages and marketplace listings. Fetch raw SKILL.md URLs from GitHub repos when found. f. Temp skill loader — If a skill is found remotely, use the temp-skill skill (when available) to fetch and load it without permanent installation. If temp-skill is not available, use webfetch to read the raw SKILL.md and follow its instructions directly.
Marketplace-found skills go in the catalog with source "marketplace", a url field, and a methods field documenting how it was found (for future reference).
Build a catalog: [{"name": "skill-name", "description": "what it does", "path": "path/to/skill", "url": "url", "source": "system|filesystem|marketplace"}, ...]
1b. Scan MCP Servers
Check what MCP tools are available by looking at tool names in the system context. Also scan MCP configuration files:
Pattern matching — Look for known MCP tool prefixes:
| Prefix | Server | Use Case | |
|---|---|---|---|
codegraph_* | CodeGraph | Codebase understanding, symbol lookup, impact analysis | |
mcp__context7__* | Context7 | Library documentation lookup | |
mcp__plugin_playwright_* | Playwright | E2E browser testing | |
mcp__fal_* | fal.ai | Image/video/audio generation | |
mcp__exa_* | Exa | Web search and research | |
mcp__github_* | GitHub | PR, issues, repo management | |
mcp__* | Any MCP | General-purpose server tools |
Config file scan — Check common MCP config locations for installed servers:
~/.config/opencode/mcp.jsonoropencode.json~/.codex/mcp.json.mcp.jsonin project rootclaude_desktop_config.json
For each discovered MCP server, note its capabilities and add to the catalog as {"type": "mcp", "name": "server-name", "tools": ["tool1", "tool2"]}.
When Codegraph is available, use it BEFORE writing or editing code:
codegraph_search— Find symbols by name (faster than grep)codegraph_context— Get comprehensive context for a task (composes search + callers + callees)codegraph_callers/codegraph_callees— Understand dependenciescodegraph_impact— Analyze blast radius before changing a symbolcodegraph_explore— Deep dive into unfamiliar modules
1c. Scan CLI Tools
Check PATH for common tools relevant to the project:
1d. Scan Project Context
Detect language/framework indicators and existing artifacts:
Check for project indicators:
package.json→ Node.js projectrequirements.txtorpyproject.toml→ Python projectCargo.toml→ Rust projectgo.mod→ Go projectpom.xml→ Java/Maven projectbuild.gradle→ Java/Gradle project.github/workflows/directory → GitHub Actions CI
1e. Scan Environment Variables
Check what env vars are set and what may be missing. Do not display actual values — only list key names and whether they are set.
Discovery Output
Present the inventory concisely:
Source rules for loading:
| Source | Load Method | |
|---|---|---|
system | Use skill name: <skill-name> | |
filesystem | Read SKILL.md from path | |
marketplace | Use temp-skill or webfetch the SKILL.md from url; fallback to websearch for instructions |
Online-found skills are already in the catalog ready for Step 4 mapping.
1f. Online Browser Search (Proactive)
After scanning local tools but before analysis, run a proactive online search for better skills and plugins matching the user's goal. This ensures you don't miss a purpose-built skill that a marketplace or registry offers.
Use these tools in priority order:
1. Curated reference sources (fetch FIRST, in parallel): Use webfetch on each of these known registries and extract entries matching the goal:
| Source | URL | What to extract | |
|---|---|---|---|
| Awesome MCP Servers | https://github.com/punkpeye/awesome-mcp-servers | MCP servers for the goal domain | |
| Agents Collection | https://github.com/wshobson/agents | Agent skills for phase needs | |
| Claude Code Plugins+Skills | https://github.com/jeremylongshore/claude-code-plugins-plus-skills | Claude Code plugins and skills | |
| CC Marketplace | https://github.com/ananddtyagi/cc-marketplace | Marketplace skills and plugins | |
| Build With Claude | https://buildwithclaude.com/plugins | Claude plugins for the goal domain |
For each matching entry, extract: name, description, GitHub URL, author, install method.
2. `websearch` — Broaden the search with targeted queries: ``` Search queries (run in parallel):
- "opencode skill <goal-keyword>"
- "claude code skill <goal-keyword>"
- "mcp server <domain/task>"
- "plugin for <goal-keyword>"
- "npx <package> <goal-keyword>"
- site:github.com/topics/opencode-skill
- site:github.com/topics/claude-code-skill
`` **3. webfetch** — Fetch raw SKILL.md files from discovered GitHub repos, registry pages, and marketplace listings to read their capabilities. **4. find-skills skill** — If in available_skills, load and use it to search across known marketplaces. **5. npx skills search** — If the skills` CLI is detected on the system.
For each skill/plugin found online:
- Extract: name, description, source URL, author
- Estimate relevance to the user's goal (high / medium / low)
- Add to catalog:
source: "marketplace", url: <source>, relevance: high|medium|low - If the skill has an install command, also record the install method
Browser search depth: Search up to 3 rounds if earlier results reveal new keywords. Stop when searches converge (no new skills found). Budget: ~10 websearch calls max.
Output after search:
Step 2 — Analysis
Parse the goal to understand what needs to be done before decomposing phases.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/autopilot/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mahmoud20138/autopilot/autopilot)