{"id":34501389,"url":"https://github.com/michaeljabbour/amplifier-modulebuilder-skill","last_synced_at":"2026-04-18T21:35:17.584Z","repository":{"id":329874269,"uuid":"1120855630","full_name":"michaeljabbour/amplifier-modulebuilder-skill","owner":"michaeljabbour","description":"Agent Skill for building production-ready amplifier-foundation modules","archived":false,"fork":false,"pushed_at":"2025-12-22T04:31:46.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-23T14:59:25.644Z","etag":null,"topics":["agent-skills","amplifier-foundation","amplifier-modules","claude-code","module-development","python"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaeljabbour.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-22T03:55:37.000Z","updated_at":"2025-12-22T04:31:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/michaeljabbour/amplifier-modulebuilder-skill","commit_stats":null,"previous_names":["michaeljabbour/amplifier-modulebuilder-skill"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/michaeljabbour/amplifier-modulebuilder-skill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeljabbour%2Famplifier-modulebuilder-skill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeljabbour%2Famplifier-modulebuilder-skill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeljabbour%2Famplifier-modulebuilder-skill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeljabbour%2Famplifier-modulebuilder-skill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaeljabbour","download_url":"https://codeload.github.com/michaeljabbour/amplifier-modulebuilder-skill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeljabbour%2Famplifier-modulebuilder-skill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31986323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-skills","amplifier-foundation","amplifier-modules","claude-code","module-development","python"],"created_at":"2025-12-24T02:01:33.296Z","updated_at":"2026-04-18T21:35:17.558Z","avatar_url":"https://github.com/michaeljabbour.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Amplifier Module Builder Skill\n\nA Claude Code skill that teaches the **\"bricks and studs\"** architecture for creating self-contained, regeneratable modules that extend AI agent capabilities.\n\n## What This Skill Provides\n\nThis skill teaches how to build five types of amplifier-foundation modules:\n\n- **Tool modules** - Extend agent capabilities (file systems, APIs, calculations)\n- **Hook modules** - Observe lifecycle events (logging, metrics, approval gates)\n- **Provider modules** - Connect to AI model APIs (Anthropic, OpenAI, custom models)\n- **Context modules** - Manage conversation state (memory, persistence, injection)\n- **Orchestrator modules** - Control execution flow (streaming, turn-taking, tool calls)\n\n## Installation\n\n**Quick install:**\n```bash\n/plugin install https://github.com/michaeljabbour/amplifier-modulebuilder-skill\n```\n\n**OpenAI Codex CLI (local):**\n```bash\n# from the repo root\nCODEX_HOME=\"${CODEX_HOME:-$HOME/.codex}\"\nmkdir -p \"$CODEX_HOME/skills\"\nln -s \"$(pwd)/skills/amplifier-modulebuilder-skill\" \"$CODEX_HOME/skills/amplifier-modulebuilder-skill\"\n# restart Codex to pick up new skills\n```\n\n**For detailed installation instructions, troubleshooting, and alternative methods, see [INSTALLATION.md](INSTALLATION.md).**\n\nOnce installed, Claude Code will automatically use this skill when you:\n- Ask about building Amplifier modules\n- Work with amplifier-foundation module development\n- Need help with module architecture patterns\n- Request guidance on testing and publishing modules\n\n## Repository Structure\n\n```\namplifier-modulebuilder-skill/\n├── .claude-plugin/\n│   └── plugin.json                      # Plugin metadata\n├── skills/\n│   └── amplifier-modulebuilder-skill/\n│       ├── SKILL.md                     # Main skill definition (47KB)\n│       └── references/                  # Deep-dive documentation\n│           ├── API_PATTERNS.md          # Common implementation patterns\n│           ├── CONTRIBUTING.md          # Community guidelines\n│           ├── DEVELOPMENT_WORKFLOW.md  # Step-by-step process\n│           ├── EXAMPLES.md              # 4 complete working examples\n│           ├── MODULAR_BUILDER.md       # AI-assisted development\n│           ├── MODULE_TYPES.md          # Deep dive on all 5 types\n│           ├── REPOSITORY_RULES.md      # Awareness constraints\n│           ├── TESTING_GUIDE.md         # Comprehensive testing\n│           └── README.md                # References navigation\n├── LICENSE                               # MIT License\n├── INSTALLATION.md                       # Installation guide\n└── README.md                             # This file\n```\n\n## Key Concepts\n\n### \"Bricks and Studs\" Architecture\n\nLike LEGO bricks:\n\n- **Studs** (public): `mount()` function, `get_schema()`, README.md\n- **Bricks** (private): Implementation details, internal classes\n\nModules are:\n- **Self-contained**: No hidden dependencies\n- **Regeneratable**: Can be rebuilt from README\n- **Composable**: Connect through coordinator\n- **Predictable**: Same inputs → same outputs\n\n### Repository Awareness\n\n**The Golden Rule**: \"Only reference declared dependencies\"\n\n✅ Can reference: Python stdlib, declared dependencies, coordinator\n❌ Cannot reference: Other modules directly, undeclared dependencies\n\n### Testing Pyramid\n\n```\n        /\\\n       /  \\\n      / E2E \\    10%\n     /------\\\n    /        \\\n   / Integrn  \\  30%\n  /------------\\\n /              \\\n/   Unit Tests   \\ 60%\n------------------\n```\n\nTarget: 85% coverage overall, 100% for critical paths.\n\n## Quick Start Example\n\n### Tool Module\n\n```python\nasync def mount(coordinator, config):\n    async def uppercase(text: str) -\u003e str:\n        \"\"\"Convert text to uppercase.\"\"\"\n        return text.upper()\n\n    return {\"uppercase\": uppercase}\n\ndef get_schema() -\u003e dict:\n    return {\n        \"uppercase\": {\n            \"description\": \"Convert text to uppercase\",\n            \"parameters\": {\n                \"type\": \"object\",\n                \"properties\": {\n                    \"text\": {\"type\": \"string\", \"description\": \"Text to convert\"}\n                },\n                \"required\": [\"text\"]\n            }\n        }\n    }\n```\n\nSee [references/EXAMPLES.md](skills/amplifier-modulebuilder-skill/references/EXAMPLES.md) for 4 complete examples.\n\n## Module Types Comparison\n\n| Type | Purpose | Entry Point | Example |\n|------|---------|-------------|---------|\n| **Orchestrator** | Control execution loop | `amplifier.orchestrators` | loop-streaming |\n| **Provider** | Connect to AI models | `amplifier.providers` | anthropic |\n| **Tool** | Extend capabilities | `amplifier.tools` | filesystem |\n| **Context** | Manage state | `amplifier.contexts` | memory |\n| **Hook** | Observe events | `amplifier.hooks` | logging |\n\n## Documentation\n\n### Primary Documentation\n\n- **[SKILL.md](skills/amplifier-modulebuilder-skill/SKILL.md)** - Complete skill with 13 sections (~2000 lines)\n  - Introduction and philosophy\n  - Module types overview\n  - Quick start guide\n  - Core development workflow\n  - Testing requirements (60/30/10 pyramid)\n  - Repository awareness rules\n  - Common patterns\n  - Complete example walkthrough\n\n### Deep-Dive References\n\nAll in [skills/amplifier-modulebuilder-skill/references/](skills/amplifier-modulebuilder-skill/references/):\n\n- **[MODULE_TYPES.md](skills/amplifier-modulebuilder-skill/references/MODULE_TYPES.md)** - Deep dive on all 5 module types (~800 lines)\n- **[DEVELOPMENT_WORKFLOW.md](skills/amplifier-modulebuilder-skill/references/DEVELOPMENT_WORKFLOW.md)** - Step-by-step process (~600 lines)\n- **[TESTING_GUIDE.md](skills/amplifier-modulebuilder-skill/references/TESTING_GUIDE.md)** - Comprehensive testing (~700 lines)\n- **[REPOSITORY_RULES.md](skills/amplifier-modulebuilder-skill/references/REPOSITORY_RULES.md)** - Awareness constraints (~500 lines)\n- **[EXAMPLES.md](skills/amplifier-modulebuilder-skill/references/EXAMPLES.md)** - 4 complete working examples (~1000 lines)\n- **[API_PATTERNS.md](skills/amplifier-modulebuilder-skill/references/API_PATTERNS.md)** - Common implementation patterns (~400 lines)\n- **[MODULAR_BUILDER.md](skills/amplifier-modulebuilder-skill/references/MODULAR_BUILDER.md)** - AI-assisted development (~600 lines)\n- **[CONTRIBUTING.md](skills/amplifier-modulebuilder-skill/references/CONTRIBUTING.md)** - Community guidelines (~300 lines)\n\n## Learning Paths\n\n### 🌱 Beginner (60 minutes)\n\n1. Read [SKILL.md](skills/amplifier-modulebuilder-skill/SKILL.md) sections 1-3 (15 min)\n2. Study [EXAMPLES.md](skills/amplifier-modulebuilder-skill/references/EXAMPLES.md) (15 min)\n3. Follow [DEVELOPMENT_WORKFLOW.md](skills/amplifier-modulebuilder-skill/references/DEVELOPMENT_WORKFLOW.md) (20 min)\n4. Build your first module (10 min)\n\n### 🌿 Intermediate\n\n1. Deep dive on your module type in [MODULE_TYPES.md](skills/amplifier-modulebuilder-skill/references/MODULE_TYPES.md)\n2. Apply patterns from [API_PATTERNS.md](skills/amplifier-modulebuilder-skill/references/API_PATTERNS.md)\n3. Achieve 85% coverage with [TESTING_GUIDE.md](skills/amplifier-modulebuilder-skill/references/TESTING_GUIDE.md)\n4. Publish following [CONTRIBUTING.md](skills/amplifier-modulebuilder-skill/references/CONTRIBUTING.md)\n\n### 🌳 Advanced\n\n1. Master [REPOSITORY_RULES.md](skills/amplifier-modulebuilder-skill/references/REPOSITORY_RULES.md) constraints\n2. Use [MODULAR_BUILDER.md](skills/amplifier-modulebuilder-skill/references/MODULAR_BUILDER.md) for AI assistance\n3. Design complex architectures\n4. Contribute to ecosystem\n\n## Related Projects\n\n### Sister Skills\n\n- **[amplifier-cli-skill](https://github.com/michaeljabbour/amplifier-cli-skill)** - Agent Skill for building CLI applications with amplifier-foundation\n  - Learn how to compose modules into full applications\n  - Session orchestration and execution patterns\n  - Production patterns and best practices\n\n### Reference Implementations\n\n- **[amplifier-simplecli](https://github.com/michaeljabbour/amplifier-simplecli)** - Production CLI application built with amplifier-foundation\n  - See modules in action in a real application\n  - Example of bundle composition\n  - Memory system integration\n  - Interactive terminal UI\n\n**Learning Path**: Build modules with this skill → Compose them into apps with amplifier-cli-skill → See them in action in amplifier-simplecli\n\n## Amplifier Ecosystem\n\nThis skill is part of the broader Amplifier ecosystem:\n\n### Core Repositories\n- **[amplifier](https://github.com/microsoft/amplifier)** - Main framework repository\n- **[amplifier-core](https://github.com/microsoft/amplifier-core)** - Core library (execution engine)\n- **[amplifier-foundation](https://github.com/microsoft/amplifier-foundation)** - Foundation library (configuration/composition layer)\n- **[Amplifier Modules](https://github.com/microsoft/amplifier/blob/main/docs/MODULES.md)** - Module catalog (36+ available modules)\n\n## Quick Reference\n\n### Create Module\n\n```bash\nmkdir amplifier-module-{type}-{name}\ncd amplifier-module-{type}-{name}\n# Follow SKILL.md section 5 for structure\n```\n\n### Test Locally\n\n```bash\nexport AMPLIFIER_MODULE_{TYPE}_{NAME}=$(pwd)\nuv run pytest tests/ --cov\n```\n\n### Publish\n\n```bash\ngit init \u0026\u0026 git add . \u0026\u0026 git commit -m \"feat: initial module\"\ngh repo create amplifier-module-{type}-{name} --public\ngit push -u origin main\ngit tag v0.1.0 \u0026\u0026 git push origin v0.1.0\n```\n\n### Use in Bundle\n\n```yaml\n---\ntools:\n  - git+https://github.com/you/amplifier-module-tool-name.git@v0.1.0\n---\n```\n\n## Community\n\n- **[Discussions](https://github.com/microsoft/amplifier-foundation/discussions)** - Ask questions\n- **[Issues](https://github.com/microsoft/amplifier-foundation/issues)** - Report bugs\n- **[Module Registry](https://github.com/topics/amplifier-module)** - Discover modules\n\n## Contributing\n\nSee [CONTRIBUTING.md](skills/amplifier-modulebuilder-skill/references/CONTRIBUTING.md) for guidelines on contributing to this skill or the module ecosystem.\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## Version\n\n**1.0.0** - Plugin-enabled skill with comprehensive \"bricks and studs\" module architecture documentation.\n\n---\n\n**Start building**: Open [SKILL.md](skills/amplifier-modulebuilder-skill/SKILL.md) and begin your journey! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeljabbour%2Famplifier-modulebuilder-skill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaeljabbour%2Famplifier-modulebuilder-skill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeljabbour%2Famplifier-modulebuilder-skill/lists"}