| name | ai-skill-integration-guide |
| description | Meta-skill for integrating external GitHub skill repos into 1ai-skills. Covers discovery, deduplication, format conversion, category mapping, validation, and quality gates. Use when integrating external skill repos, bulk skill imports, skill format conversion. |
| domain | development |
| author | oyi77 |
| license | Apache-2.0 |
| subdomain | software-development |
| tags | ["meta","integration","skills","github","bulk-import","format-conversion","quality-gates"] |
| version | 1.0.0 |
Overview
Meta-skill that teaches agents how to integrate external skill repositories into the 1ai-skills library. Covers the full pipeline from discovery through validation, ensuring new skills are unique, properly formatted, correctly categorized, and quality-gated before merge.
Discovery
Before importing anything, understand what the external repo offers.
- Read the repo README for purpose, scope, and skill count
- Check if the repo uses SKILL.md files, AGENTS.md, or another structure
- List all skill files and extract their frontmatter (name, description, domain, tags)
- Identify the unique value — what does this repo offer that 1ai-skills does not already cover?
find /path/to/external-repo -name "SKILL.md" -o -name "*.md" | head -50
for f in $(find /path/to/external-repo -name "SKILL.md"); do
echo "=== $f ==="
sed -n '/^---$/,/^---$/p' "$f"
done
Deduplication
Always check for overlap before importing. Redundant skills degrade the library.
- Grep existing SKILLS.json for similar skill names:
grep -i "keyword" /home/openclaw/projects/1ai-skills/SKILLS.json
- Grep existing skills for similar descriptions:
grep -ri "description.*keyword" /home/openclaw/projects/1ai-skills/*/SKILL.md
- Check the target category's current count and capacity
- For each candidate skill, document: overlaps found, unique value, import decision (import / skip / merge)
Format Conversion
All 1ai-skills must follow the standard YAML frontmatter format.
Required frontmatter fields:
---
name: skill-name
description: What it does. Use when [trigger1], [trigger2].
domain: category-name
tags:
- [tag1
- tag2
- tag3]
---
Conversion checklist:
Category Mapping
Map external skills to the existing 18 categories:
| Category | Focus |
|---|
automation/ | Bots, scrapers, pipelines, workflow automation |
agents/ | Agent architectures, autonomous systems |
content/ | Video, podcast, design, UI generation |
core/ | Self-improvement, memory, orchestration, infrastructure |
cybersecurity/ | Threat hunting, forensics, pen testing, SOC, compliance |
data/ | Data cleaning, visualization, pipelines, reporting |
development/ | TDD, debugging, code review, patterns, frameworks |
devops/ | Docker, K8s, CI/CD, cloud ops, GitOps |
financial/ | Finance analysis, investing, tax, accounting |
integrations/ | Platform integrations (GitHub, Discord, Notion, Slack) |
marketing/ | SEO, growth, email, social, affiliate |
mcp/ | MCP server skills |
meta/ | Self-improving meta-skills, skill management |
operations/ | Governance, KYC, project management, HR, legal |
productivity/ | Calendar, email, meetings, workspace tools |
research/ | Analysis, deep research, competitive intelligence |
sales/ | Lead gen, closing, B2B, CRM, influence |
trading/ | Crypto, DeFi, strategies, smart contracts |
If no category fits: Propose a new category in the PR with justification. New categories need at least 3 skills to be viable.
Validation
Run the full validation pipeline after import.
bash /home/openclaw/projects/1ai-skills/scripts/audit-skills.sh --write
bash /home/openclaw/projects/1ai-skills/scripts/audit-skills.sh
Quality Gates
Every imported skill must pass these gates before merge:
Gate 1 — Self-Contained: The skill is fully understandable without reading the source repo. No "see the README for details" — all details are in the SKILL.md.
Gate 2 — Actionable: The skill provides concrete steps, commands, code examples, or decision frameworks. Not just a description of what something is.
Gate 3 — Unique Value: No existing 1ai-skill covers the same ground. If there is overlap, the new skill must be clearly differentiated or merged into the existing one.
Gate 4 — Correct Format: YAML frontmatter is valid, required fields present, naming conventions followed, category mapping is correct.
Gate 5 — No Leaks: No hardcoded paths, API keys, user-specific config, or internal URLs. Safe for any user to install.
Process
1. Discovery → Read repo, list skills, extract metadata
2. Dedup → Grep existing skills, document overlaps
3. Convert → Apply format, fix frontmatter, restructure body
4. Categorize → Map to existing categories or propose new
5. Validate → Run audit script, update docs
6. Quality Gate → Check 5 gates, fix failures
7. Submit → PR with import summary and count changes
When to Use
Trigger phrases:
-
"ai skill integration guide"
-
"Integrating skills from an external GitHub repository"
-
"Bulk importing skills from a curated collection"
-
"Converting non-standard skill formats to 1ai-skills format"
-
Integrating skills from an external GitHub repository
-
Bulk importing skills from a curated collection
-
Converting non-standard skill formats to 1ai-skills format
-
Auditing an external repo for importable content
-
Validating skill quality before merge
How to Use
- Understand the requirement and existing codebase patterns
- Design the solution with error handling and testability in mind
- Implement incrementally with tests for each change
- Verify against expected outcomes (manual and automated)
- Document usage, edge cases, and integration points
- Review with team before merging to shared branches
When NOT to Use
- Task is about deployment, not development (use deploy skills)
- Task is about code review, not writing (use review skills)
- You need to understand existing code first (use research skills)
- Task is about testing only (use test skills)
- Requirements are unclear (clarify first)
- Task is trivially simple (single line fix)
Red Flags
- Skipping tests to ship faster: Untested code breaks in production when you least expect it
- No error handling in production code: Unhandled errors crash services and lose user data
- Hardcoded configuration values: Hardcoded values prevent environment switching and leak secrets
- Ignoring security implications: Missing input validation, auth bypasses, and injection vulnerabilities
- Over-engineering simple solutions: Premature abstraction adds complexity without proportional benefit
Verification
Anti-Rationalization Table
| Rationalization | Reality |
|---|
| "Tests slow me down" | Bugs slow you down 10x more. Tests are speed, not overhead. |
| "I will refactor later" | Technical debt compounds. Refactor as you go. |
| "It works on my machine" | If it is not in CI, it does not work. Ship proof, not claims. |