Skill Swarm
Searches GitHub repositories as a skill registry and uses GitHub metadata such as stars, recent activity, and issues to compute trust scores via the GitHub API. Raw GitHub searches are skipped when no GitHub token is configured.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Skill Swarm
MCP server for AI agent skill discovery, installation, and orchestration.
The Problem
AI agents (Claude, agy, Codex) need skills to be effective. Today, finding and installing the right skill for a task is manual:
Search Smithery/GitHub manually
Evaluate if the server is trustworthy (stars? license? maintained?)
Install and configure it by hand
Repeat for every project
Skill Swarm automates the entire pipeline. The agent queries "pdf parsing" and Skill Swarm searches 5 registries (Skills.sh, MCP Registry, Smithery, Glama, GitHub), evaluates trust, installs the best match, and makes it available instantly.
Related MCP server: skills.sh MCP Server
Active Pipeline Intent & Reinforcement Graph
Intent: feat:re_as_sdd_skill_swarm_aep_resilience (Task ID 117)
Reverse Engineering as Software Design Document (RE-as-SDD) integration of Agent Execution Plane (AEP) resilience primitives into Skill Swarm MCP.
flowchart LR
I["Intent: feat:re_as_sdd_skill_swarm_aep_resilience"] --> M1["M1: planned (Archon) ✅"]
M1 --> M2["M2: documented (Graphos G1) ✅"]
M2 --> M3["M3: audited (Ontos) ✅"]
M3 --> M4["M4: implemented (Pragma) ✅"]
M4 --> M5["M5: verified (Dokimos) ✅"]
M5 --> M6["M6: documented (Graphos G2) ✅"]
M6 --> M7["M7: committed (Hermon) ✅"]How It Works
flowchart TD
A["Agent queries: database access"] --> B{"skill_discover"}
B -->|"Local skill found"| C["Use it"]
B -->|"No match"| D["Search 5 registries"]
D --> E["Registries in parallel"]
E --> F["skill_manage: install"]
F --> G["Download"]
G --> H["Landlock probe + Regex security scan"]
H --> I["Trust evaluation"]
I --> J["Topos DAG anti-co-dependency audit"]
J --> L["Atomic folder install: ~/.agents/skills/{name}/"]
L --> K["Reconcile client discovery: Claude, agy, Codex"]
C --> M{"Need partial context?"}
M -->|"Yes"| N["cherry_pick_context"]
M -->|"No"| O["Full skill loaded"]
N --> P["Extract only sections needed"]
style A fill:#8B5CF6,stroke:#6D28D9,color:#fff
style C fill:#10B981,stroke:#059669,color:#fff
style L fill:#10B981,stroke:#059669,color:#fff
style F fill:#3B82F6,stroke:#2563EB,color:#fff
style D fill:#3B82F6,stroke:#2563EB,color:#fff
style N fill:#F59E0B,stroke:#D97706,color:#fffSearch Orchestration
Remote search uses a two-phase strategy — high-trust registries first, fallback only if needed:
flowchart LR
Q["Query"] --> P1["Phase 1: Skills.sh + MCP Registry"]
P1 -->|">= 3 results"| D["Deduplicate + Trust Score"]
P1 -->|"< 3 results"| P2["Phase 2: Smithery + Glama + GitHub"]
P2 --> D
D --> R["Sorted Results"]
style Q fill:#8B5CF6,stroke:#6D28D9,color:#fff
style P1 fill:#10B981,stroke:#059669,color:#fff
style P2 fill:#F59E0B,stroke:#D97706,color:#fff
style D fill:#3B82F6,stroke:#2563EB,color:#fff
style R fill:#10B981,stroke:#059669,color:#fffArchitecture
flowchart TB
Agent["AI Agent: Claude, agy, Codex"]
Agent -->|"MCP Protocol stdio"| Server
subgraph Server["skill-swarm MCP Server (v1.2.0)"]
direction TB
subgraph Tools["Consolidated 3-Tool Surface (AEP Pattern)"]
T1["skill_discover: capabilities, match, search"]
T2["skill_manage: list, info, install, uninstall, update, health, audit"]
T3["cherry_pick_context: targeted section extraction"]
end
subgraph Core["Resilient Core Engines (RE-as-SDD)"]
Topos["Topos DAG Circuit Breaker: anti-co-dependency"]
Sandbox["Landlock LSM Sandbox: kernel-level probe"]
Audit["SHA-256 Chained Audit Ledger: tamper-evident"]
Health["Multidimensional Health & Security Veto"]
Matcher["Matcher V2: BM25F + SIMD C++ RapidFuzz"]
Trust["Trust Engine: 5 dimensions · git-quality"]
end
subgraph Infra["Infrastructure & Resilience"]
Storage["Storage Fail-Soft: Volatile RAM Fallback"]
AutoPlug["Auto-Plug Sync: Claude, agy, Codex, Gemini"]
end
end
Server --> Registries["5 Registries: Skills.sh, MCP, Smithery, Glama, GitHub"]
Server --> Skills["Global Skill Discovery: ~/.agents/skills/"]
style Agent fill:#8B5CF6,stroke:#6D28D9,color:#fff
style Server fill:#1E293B,stroke:#334155,color:#fff
style Tools fill:#334155,stroke:#475569,color:#fff
style Matcher fill:#3B82F6,stroke:#2563EB,color:#fff
style Trust fill:#3B82F6,stroke:#2563EB,color:#fff
style Topos fill:#3B82F6,stroke:#2563EB,color:#fff
style Sandbox fill:#3B82F6,stroke:#2563EB,color:#fff
style Audit fill:#3B82F6,stroke:#2563EB,color:#fff
style Health fill:#3B82F6,stroke:#2563EB,color:#fff
style Storage fill:#475569,stroke:#64748B,color:#fff
style AutoPlug fill:#475569,stroke:#64748B,color:#fffInstall Pipeline
sequenceDiagram
autonumber
actor A as AI Agent
participant S as skill_swarm (skill_manage)
participant T as ToposGuard
participant L as LandlockSandbox
participant R as Registries
participant Aud as SHA-256 Ledger
participant FS as Filesystem
A->>S: install(name, source)
S->>T: audit_skill_dependencies()
alt Cycle / Co-dependency detected
T-->>S: BLOCKED (cycle error)
S-->>A: Blocked by Topos Integrity Protocol
else Coherent DAG
T-->>S: APPROVED
S->>L: run_isolated_probe()
S->>R: Download skill package
S->>S: Pattern scan + frontmatter validation
S->>FS: Atomic move to ~/.agents/skills/{name}/
S->>FS: Reconcile client symlinks (claude, agy)
S->>Aud: record_audit_event(INSTALL, SUCCESS)
S-->>A: Installation certified & active
endQuick Start
Prerequisites
Python 3.12+ (validated through Python 3.14)
Git (for cloning skill sources)
GitHub token (optional, for 5000 req/hr vs 60)
Autonomous Clean-Slate Provisioning (AEP Pattern)
If the host lacks Python or package managers entirely, or for a 1-command zero-root setup:
# Autonomous user-space provisioning (installs Astral uv + standalone hermetic Python 3.12+ + venv + registers clients)
./scripts/setup.sh
# Or verify toolchain health (100% read-only audit)
./scripts/setup.sh --checkManual Installation (Standard)
git clone https://github.com/ancrz/skill-swarm-mcp.git
cd skill-swarm-mcp
# Create virtual environment and install
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
# Configure environment
cp .env.example .env
# Safely add your GitHub token without leaking it to shell history:
printf "Enter SKILL_SWARM_GITHUB_TOKEN (hidden): " && read -s val && echo && echo "SKILL_SWARM_GITHUB_TOKEN=$val" >> .envNote on GitHub Token: Skill Swarm uses the GitHub API to calculate Mathematical Trust Scores (stars, recent activity, issues) for skills. If the token is missing, the system will completely skip raw GitHub searches to prevent inventing inaccurate scores, and will automatically defer entirely to the official alternate registries (Smithery, MCP Registry, Skills.sh, Glama).
Configure Your AI Agent Globally (Auto-Plug)
Run the autonomous synchronizer to register skill-swarm automatically across all detected AI environments:
./scripts/skill-swarm-sync.shOr configure manually:
Claude Code
Register it in the user scope:
claude mcp add skill-swarm \
-- /home/ancruz/Documents/workspaces/skill-swarm-mcp/scripts/skill-swarm-mcp-launch.shAntigravity CLI (agy)
Add to ~/.gemini/config/mcp_config.json:
{
"mcpServers": {
"skill-swarm": {
"command": "/home/ancruz/Documents/workspaces/skill-swarm-mcp/scripts/skill-swarm-mcp-launch.sh"
}
}
}Codex
Codex consumes the canonical directory natively (~/.agents/skills/). To register the server in ~/.codex/config.json:
{
"mcpServers": {
"skill-swarm": {
"command": "/home/ancruz/Documents/workspaces/skill-swarm-mcp/scripts/skill-swarm-mcp-launch.sh"
}
}
}Consolidated 3-Tool Surface (AEP Pattern)
Skill Swarm groups capabilities into a consolidated surface matching AEP's orientation and lifecycle control plane design:
Tool | Action Options | Description |
|
| Unified discovery router: returns autonomy manifest, matches locally, or queries 5 registries. |
|
| Unified lifecycle control plane: inventory, inspection, atomic install, health scoring, and SHA-256 audit. |
| (direct call) | Token-efficient extractor of specific markdown sections from SKILL.md. |
|
| Single-turn Code Mode (sandboxed async Python or batch pipeline) with RAM field projection (-75% to -95% tokens). |
Backward Compatibility Forwarders
For seamless compatibility with existing agent prompts, all legacy tools are preserved:
Legacy Tool | Forwarded To |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For the complete specification of all parameter schemas, return payloads, execution invariants, and the architectural gap analysis matrix, see the comprehensiveTools Reference & Gap Analysis.
Skill Directory Compliance
Skills follow the Agent Skills standard with one user-global source:
~/.agents/skills/ # Global source; Codex reads it directly
├── {skill-name}/
│ └── SKILL.md # Skill content (always SKILL.md)
├── manifest.json # Installed skills registry
├── audit.db # Tamper-evident SHA-256 chained audit ledger
├── .usage.json # Usage tracking data
└── .cache/ # TTL-based search/trust cache
~/.claude/skills/ # Agent-specific (symlinks)
├── {skill-name} -> ~/.agents/skills/{skill-name}
└── ...
~/.gemini/config/skills/ # agy current global path (symlinks)
├── {skill-name} -> ~/.agents/skills/{skill-name}
└── ...The folder name identifies the skill
The file is always
SKILL.md(standard compliance)Agent directories contain directory symlinks to the global source
Legacy
~/.agent/skills/content is migrated without overwriting conflicts
Trust Score Engine
Every remote search result includes a trust score (0.0-1.0) computed from 5 git-quality dimensions:
flowchart LR
subgraph Dimensions["5 Git-Quality Trust Dimensions"]
D1["Maintenance (25%): push frequency, open issues"]
D2["Security (25%): license trust, unarchived"]
D3["Recency (20%): exponential decay (half-life 180d)"]
D4["Popularity (20%): log-normalized stars, forks, watchers"]
D5["Completeness (10%): docs, topics, metadata"]
end
D1 & D2 & D3 & D4 & D5 --> Score["Weighted Trust Score: 0.0 - 1.0"]
style Score fill:#10B981,stroke:#059669,color:#fffDimension | Weight | Signals |
Recency | 0.20 | Exponential decay since last push (half-life: 180 days) |
Popularity | 0.20 | Log-normalized stars, forks, watchers |
Maintenance | 0.25 | Push frequency, open issues ratio |
Security | 0.25 | License trust level (MIT=1.0, GPL=0.5, none=0.1), archived penalty |
Completeness | 0.10 | Description, homepage, topics, README presence |
Verdicts:
Score | Verdict | Action |
>= 0.75 | TRUST | Safe to auto-install |
0.50-0.74 | CAUTION | Show to agent for review |
0.25-0.49 | WARNING | Manual review recommended |
< 0.25 | REJECT | Block installation |
Matcher V2 — BM25F + Multi-Signal Scoring
Local skill matching uses 7 weighted signals:
flowchart LR
RQ["Raw Query"] --> NQ["Normalize: stopword removal"]
NQ --> Q["Keywords"]
Q --> E["Exact Match (w=30)"]
Q --> P["Prefix Match (w=20)"]
Q --> PH["Phrase Match (w=15)"]
Q --> B["BM25F (w=15)"]
Q --> J["Jaccard Tags (w=10)"]
Q --> FN["Fuzzy Name (w=7)"]
Q --> FD["Fuzzy Desc (w=3)"]
E & P & PH & B & J & FN & FD --> S["Weighted Score: 0.0 - 1.0"]
style RQ fill:#F59E0B,stroke:#D97706,color:#fff
style NQ fill:#F59E0B,stroke:#D97706,color:#fff
style Q fill:#8B5CF6,stroke:#6D28D9,color:#fff
style S fill:#10B981,stroke:#059669,color:#fffSignal | Weight | Description |
Exact match | 30 | Query equals skill name |
Prefix match | 20 | Skill name starts with query |
Phrase match | 15 | Query found as substring in any field |
BM25F | 15 | Field-weighted relevance (name=3x, tags=2x, desc=1x) |
Jaccard tags | 10 | Set similarity on tags |
Fuzzy name | 7 | Typo-tolerant name matching (RapidFuzz C++ SIMD) |
Fuzzy description | 3 | Partial match on description |
Platform Support
Platform | Status | Notes |
Linux | Full support | Landlock LSM sandboxing + pure ctypes |
macOS | Full support | Same Python ecosystem |
Windows | Full support | Native symlinks supported |
Project Structure
skill-swarm-mcp/
├── src/skill_swarm/
│ ├── server.py # Consolidated 3-tool FastMCP server
│ ├── config.py # Resilient storage fallback & Pydantic settings
│ ├── models.py # Data models (SkillInfo, TrustScore, etc.)
│ ├── core/
│ │ ├── audit.py # SPEC-2: SHA-256 chained audit ledger & masking
│ │ ├── topos.py # SPEC-3: Topos DAG anti-co-dependency guard
│ │ ├── sandbox.py # SPEC-4: Linux Landlock LSM in-process sandbox
│ │ ├── health.py # SPEC-5: Multidimensional health & security veto
│ │ ├── code_mode.py # SPEC-6: Ephemeral Batch & Sandboxed Code Mode (AEP OM-7)
│ │ ├── installer.py # Atomic install, symlink, and manifest pipeline
│ │ ├── scanner.py # Regex & AST security pattern scanner
│ │ ├── matcher.py # BM25F + multi-signal scoring (RapidFuzz)
│ │ ├── registry.py # 5-registry parallel search
│ │ └── usage.py # Resilient usage tracking
│ └── tools/
│ ├── inventory.py # List, match, health, and audit tools
│ ├── search.py # Multi-registry search implementation
│ ├── install.py # Install, uninstall, update wiring
│ └── cherry_pick.py # Targeted section extraction
├── scripts/
│ ├── setup.sh # Clean-slate user-space provisioner & --check
│ ├── skill-swarm-mcp-launch.sh # Hermetic Python FastMCP launcher
│ └── skill-swarm-sync.sh # Pre-flight validator & multi-client auto-plug
├── docs/
│ ├── blueprint_re_sdd.md # RE-as-SDD formal specifications (SPECs 1-5)
│ ├── PROJECT.md # Project premise and active intent
│ ├── MILESTONES.md # Pipeline milestone tracking
│ └── COMPACT.md # Context compaction instructions
├── tests/
│ ├── conftest.py # Isolated tmp_path test fixture
│ ├── test_re_sdd_resilience.py # SPECs 1-5 validation suite
│ ├── test_code_mode.py # SPEC-6 Code Mode & Batch validation suite (13 tests)
│ ├── test_core.py # Core unit tests (25)
│ ├── test_e2e_effectiveness.py # E2E V1 (19 tests)
│ └── test_e2e_v2.py # E2E V2 — trust, cache, BM25F (19 tests)
├── LICENSE # Apache 2.0
├── README.md # Single source of truth documentation
├── TOOLS.md # Complete toolchain reference & gap analysis
└── pyproject.toml # Python package config (v1.2.0)Development & Testing
# Verify system health (100% read-only audit)
./scripts/setup.sh --check
# Run full test suite (68 tests, 100% pass)
.venv/bin/python -m pytest tests/
# Run resilience test suite specifically
.venv/bin/python -m pytest tests/test_re_sdd_resilience.pyLicense and Terms
This project is licensed under the terms of the Apache License 2.0. Refer to the LICENSE file for the full terms and conditions of use, reproduction, distribution, and patent grants.
Compatibility: Permissive and enterprise-friendly, compatible with MIT, BSD-3-Clause, and public-domain databases (SQLite).
Patent Grant: Features bilateral patent defense and licensing protections (Section 3 of Apache 2.0).
Disclaimer of Warranty & Limitation of Liability: Software provided on an "AS IS" basis without warranties or conditions of any kind (Sections 7 & 8 of Apache 2.0).
Copyright 2025 Anthony CruzBuilt with FastMCP Protocol and Topos Pipeline Engineering.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
One place to build, share, and govern the skills and tools your AI agents use at work.
AI agent marketplace for automated employees, workflows, skills, and tool orchestration.
AI agent skills marketplace — token-efficient skill search & execution
Agent-to-agent marketplace for AI task discovery, matching, delivery, and trust.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to search, audit, and install open-source AI skills and MCP servers with security grading and quality scoring, directly from MCP clients.331 npm1MIT
- AlicenseAqualityCmaintenanceEnables AI agents to autonomously search, evaluate, and install skills from the skills.sh catalog.416 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search and retrieve over 89K skills on-demand at runtime, eliminating the need to manually install skills upfront.137MIT

ai-supply-mcpofficial
FlicenseNot gradedqualityDmaintenanceEnables agents to search, install, publish, and review security-scanned AI capabilities from the ai-supply.store marketplace, including skills, MCP servers, plugins, datasets, and guardrails.-