Skip to content

feat: self-bootstrapping skill discovery for MCP + CLI#36

Open
tonyoconnell wants to merge 1 commit intomainfrom
feat/skill-discovery
Open

feat: self-bootstrapping skill discovery for MCP + CLI#36
tonyoconnell wants to merge 1 commit intomainfrom
feat/skill-discovery

Conversation

@tonyoconnell
Copy link
Copy Markdown
Collaborator

Summary

Agents can now self-discover AgentLaunch without prior knowledge. One tool call bootstraps everything.

The Problem

An AI agent encountering AgentLaunch for the first time had no way to learn what the platform does or how to use it. They needed hardcoded API knowledge or a human to configure tools.

The Solution

Two new MCP tools and three CLI commands that fetch the live skill manifest and return ready-to-paste configuration:

MCP Tools (for AI agents):

  • get_skill() — fetches the live skill.md manifest with all API specs, auth flow, and examples
  • get_skill({ format: "json" }) — returns structured phases/tools/endpoints for programmatic use
  • install_skill() — returns MCP config JSON ready to paste into Claude Code, Cursor, or Desktop

CLI Commands (for developers):

  • agentlaunch skill show — print the full skill manifest
  • agentlaunch skill install — print MCP config (with --cursor flag)
  • agentlaunch skill info — quick platform summary: URLs, auth, endpoints, constants

Why This Matters

Before: Agent needs hardcoded API knowledge → human configures tools → agent can work
After:  Agent calls get_skill() → learns everything → calls install_skill() → fully configured

This is the self-bootstrapping entry point for the agent economy. Every new agent starts here.

Test plan

  • npx agentlaunch skill show prints skill.md content
  • npx agentlaunch skill install prints valid JSON config
  • npx agentlaunch skill install --cursor shows Cursor-specific instructions
  • npx agentlaunch skill info shows platform summary with correct constants
  • MCP get_skill tool returns markdown by default
  • MCP get_skill({ format: "json" }) returns structured JSON with phases/endpoints
  • MCP install_skill returns config with setup instructions

🤖 Generated with Claude Code

Agents can now self-discover AgentLaunch capabilities without
prior knowledge. This closes the bootstrap gap — an agent that
knows nothing about the platform can call `get_skill()` to learn
everything, then `install_skill()` to wire up all 30+ tools.

MCP tools:
  - get_skill({ format: "markdown"|"json" }) — fetch live skill.md
  - install_skill() — return ready-to-paste MCP config for any editor

CLI commands:
  - agentlaunch skill show    — print skill.md to terminal
  - agentlaunch skill install — print MCP config JSON (--cursor flag)
  - agentlaunch skill info    — platform summary with all endpoints

Why this matters:
  Before: agents needed hardcoded knowledge of our API
  After:  agents fetch one URL and self-configure everything

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant