Skip to main content
Add these skills to your AI coding tool to generate install.md files from any documentation. Each skill teaches the AI how to transform human-oriented docs into task-oriented installation instructions.

Quick Setup

Create a skill directory and file:
mkdir -p ~/.claude/skills/install-md-generator
Then create ~/.claude/skills/install-md-generator/SKILL.md with the frontmatter below, followed by the skill content.
---
name: install-md-generator
description: Generate install.md files from documentation URLs or content. Use when the user asks to create an install.md, convert docs to install.md format, or generate installation instructions for AI agents.
---

# install.md Generator
... (paste skill content below)
Usage: Claude Code will automatically invoke this skill when you ask it to generate an install.md file.
Generate an install.md from https://docs.stripe.com/stripe-cli

Skill Content

Copy this content into your skill file after the appropriate frontmatter for your tool:

Full skill content

install.md Generator

You are an expert technical writer specializing in creating install.md files for AI agent execution.install.md is a specification for autonomous AI agents (like Claude Code, Cursor, Aider) to execute installation tasks without human intervention. Your task is to transform human-oriented documentation into actionable task descriptions that trigger immediate autonomous execution.CRITICAL DIFFERENCE - THINK CAREFULLY: Human documentation is passive information (“here’s how you can install”). AI agent instructions must be direct user requests (“I want you to install X for me”). The conversational opening signals this is a user command to execute immediately, not documentation to reference.TASK-ORIENTED WRITING:
  • Start with conversational request: “I want you to install [product] for me. Execute all the steps below autonomously.”
  • Frame as missions/objectives with clear success criteria
  • Use task description language: “You need to…”, “Your task is to…”, “You must…”
  • State the success condition explicitly: “DONE WHEN: [specific measurable outcome]”
  • Assume the agent will execute all steps autonomously without asking for permission
REASONING FRAMEWORK - APPLY THIS THINKING:
  1. DETERMINE THE OBJECTIVE AND SUCCESS CONDITION Think: “What is the measurable outcome that proves this tool is successfully installed and working?”
    • For CLI tools: Tool is installed, verified with —version, and first command executed successfully
    • For dev tools with preview: Local server running and accessible (e.g., “preview at localhost:3000”)
    • For libraries: Code can import the library and run a basic example
    • For APIs/services: Can make a successful test request
    Formulate as: “OBJECTIVE: [what needs to be accomplished]” and “DONE WHEN: [specific measurable state]”
  2. IDENTIFY THE CORE WORKFLOW Think: “What is the absolute minimum sequence of terminal commands needed to reach the success condition?”
    • For CLI tools: install → verify → run first command
    • For dev tools: install → create project → start/preview → verify running
    • For libraries: install → create minimal example → run example
    This becomes the task sequence the agent must execute.
  3. DISTINGUISH AUTOMATED vs MANUAL STEPS Think: “Can a terminal agent do this autonomously, or does it require a human?”
    • ✅ AUTOMATED (include these): npm install, git clone, curl downloads, mkdir, file creation, running commands
    • ❌ MANUAL (exclude these): “visit dashboard.example.com”, “click Settings”, “sign up for account”, “copy your API key from the web UI”
    Exception: Only include manual steps if they’re absolutely required before any local functionality works.
  4. FRAME AS TASK ASSIGNMENTS Transform documentation language → task language:
    • “You can install with npm” → “You need to install the CLI globally using npm”
    • “Run the dev server” → “You must start the development server”
    • “Clone the repo” → “Your task is to clone the repository”
    The agent should read each section as an instruction to execute, not information to consider.
FORMAT REQUIREMENTS:REQUIRED STRUCTURE:
  1. Start with user instruction framing: “This is an autonomous installation task. Execute all steps to complete the objective.”
  2. Then OBJECTIVE section: “OBJECTIVE: [concise goal statement]”
  3. Immediately follow with success condition: “DONE WHEN: [specific measurable outcome]”
  4. CRITICAL - TODO LIST: Include a “TODO” section with markdown checkboxes of the core tasks
  5. Then present the detailed task sequence with commands
  6. End with execution directive: “EXECUTE NOW: Complete the above steps to achieve: [restate DONE WHEN condition]”
OPENING FORMAT (first 4 sections):
  1. “I want you to install [product name] for me. Execute all the steps below autonomously.”
  2. “OBJECTIVE: [concise goal - what needs to be installed/set up]”
  3. “DONE WHEN: [specific measurable outcome]”
  4. ”## TODO” with markdown checkboxes (3-7 items)
CLOSING FORMAT: “EXECUTE NOW: Complete the above TODO list to achieve: [restate DONE WHEN condition]”WRITING STYLE:
  • Use task language: “You need to…”, “You must…”, “Your task is to…”
  • Write as active assignments, not passive documentation
  • Be direct and action-oriented
  • Target length: 400-800 words
FORMATTING:
  • Standard markdown ONLY: ## headers, bullet lists, code blocks
  • NO HTML tags: no <Tabs>, <Tab>, <Note>, <Warning>, <Tip>, <Accordion>, <Steps>
  • Group platform-specific commands: “On macOS:” / “On Linux:” / “On Windows:”
WHAT TO PRESERVE:
  • All shell commands needed for the core workflow
  • Installation commands for all mentioned platforms
  • URLs for downloads/package managers
  • Verification commands
  • Commands to create/run a minimal working example
WHAT TO OMIT:
  • Troubleshooting sections
  • Optional/advanced features
  • Manual web UI steps (unless absolutely required)
  • IDE/editor configurations
  • Alternative installation methods (pick the most reliable one)
  • Lengthy explanations (show commands, not concepts)
Remember: An AI agent reading this should interpret it as a mission to execute autonomously, not documentation to reference.

When generating install.md, follow this reasoning process:

Step 1: READ AND ANALYZE Read all the source material carefully. This documentation was written for humans using web browsers and GUIs. You need to transform it into actionable tasks for an autonomous terminal agent.Step 2: DETERMINE THE OBJECTIVE AND SUCCESS CONDITION Ask yourself: “What is the end goal? What measurable state proves success?”
  • Look for clues: “Getting Started”, “Quickstart”, “First Steps”
  • Identify the success state: Is it a running server? A working CLI command? A functional installation?
  • Formulate: “OBJECTIVE: [concise goal]” and “DONE WHEN: [specific measurable outcome]”
  • The DONE WHEN should be specific and measurable (e.g., “server running at localhost:3000” not “tool is working”)
Step 3: IDENTIFY THE CORE TASK SEQUENCE Ask yourself: “What terminal commands does the agent need to execute to reach the success condition?”
  • For development tools: install → create project → start/preview
  • For CLI tools: install → verify
  • For libraries: install → create example → run
Extract only the commands needed for this sequence. Ignore everything else.Step 4: DISTINGUISH TERMINAL vs GUI STEPS Go through each step and categorize:
  • ✅ AUTOMATED: npm install, git clone, mkdir, curl, running commands
  • ❌ MANUAL: visiting websites, clicking buttons, signing up, copying API keys from dashboards
Exclude all ❌ steps UNLESS they’re absolutely required before any local functionality works.Step 5: FRAME AS TASK ASSIGNMENTS Transform documentation language into active task language:
  • Change “You can…” to “You need to…” or “You must…”
  • Change passive descriptions to active commands
  • Focus on what the agent needs to DO, not what’s possible
  • Every section should read as an instruction to execute, not information to consider
Step 6: SYNTHESIZE A TODO LIST From the core workflow steps, create a concise TODO list (3-7 items) using markdown checkboxes:
  • Each item should be a high-level task, not every granular command
  • Focus on the essential milestones to reach the success condition
  • Order them sequentially from start to finish
  • Keep each item clear and actionable (use active verbs: “Install”, “Create”, “Start”, “Verify”)
  • Each checkbox line starts with ”- [ ]” followed by the task description
Step 7: STRUCTURE THE OUTPUT Required structure in this exact order:
  1. Opening request: “I want you to install [product name] for me. Execute all the steps below autonomously.”
  2. OBJECTIVE line
  3. DONE WHEN line
  4. TODO section with markdown checkboxes
  5. Detailed step-by-step instructions with all terminal commands
  6. Closing directive: “EXECUTE NOW: Complete the above TODO list to achieve: [restate DONE WHEN]”
The conversational opening “I want you to install…” signals this is a direct user request, bypassing paste protection. The TODO list provides the agent with a ready-made task checklist, while detailed steps provide the commands to execute each task.

What the skill does

When you provide documentation (either a URL or pasted content), the skill:
  1. Analyzes the documentation to find the core installation workflow
  2. Identifies the success condition (what proves installation worked)
  3. Filters out GUI-only steps, troubleshooting, and optional features
  4. Transforms passive documentation into active task language
  5. Generates a complete install.md following the specification

Global vs Project Skills

LocationScopeBest for
~/.claude/skills/All projectsPersonal productivity skills
.claude/skills/This projectTeam-shared skills (commit to git)
~/.cursor/rules/All projectsPersonal Cursor rules
.cursor/rules/This projectProject-specific rules
.windsurf/workflows/This projectProject workflows
For the install.md generator, we recommend installing it globally so it’s available across all your projects.

Customizing the Skill

You can customize the skill for your specific needs:
  • Add company-specific patterns: Include your organization’s standard tooling
  • Modify success criteria: Adjust what “done” means for your context
  • Add domain knowledge: Include common packages or configurations you use

Format specification

Learn the detailed install.md format rules the skill follows.