The Zero-Dependency Skill Forge β Turn Any Resource into a Cross-Platform Agent Skill
CoolSkill Builder is a governance node for the Agent skill ecosystem. It transforms any resource β GitHub repos, API docs, natural language descriptions, code snippets β into zero-dependency, token-optimized, cross-platform Agent skills.
π― One input, four files, any platform. Drop in your idea, get back a production-ready skill that runs on Kimi, OpenAI, Claude, or any custom Agent β with version isolation and military-grade security validation.
The Agent ecosystem is exploding. But every platform speaks a different dialect:
- OpenAI wants
functionswithstrict: trueschemas - Claude expects
toolswithinput_schema - Custom agents need HTTP endpoints
- And nobody agrees on how to version anything
CoolSkill Builder cuts through the noise. One spec β one implementation β three platform adapters. Zero lock-in, zero dependencies, zero friction.
git clone https://github.com/fredtai/coolskill-builder.git
cd coolskill-builderclawhub install coolskill-builder
# or
npx clawhub@latest install coolskill-builderInput: Paste your Python function
def slugify(text):
"""Convert text to URL-friendly slug."""
import re
text = text.lower().strip()
text = re.sub(r'[^\w\s-]', '', text)
text = re.sub(r'[\s_-]+', '-', text)
return textOutput: 4 standardized files
| File | Purpose | Spec |
|---|---|---|
skill.yaml |
Metadata & schemas | Compressed keys, Semver, unique ID |
impl.py |
Pure logic | run(a) β {'s','d','e'}, stdlib only |
test.py |
Isolated tests | 5-layer coverage: normal/edge/error/boundary/perf |
manifest.json |
Cross-platform adapters | OpenAI / Claude / HTTP / Universal |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β INPUT (Any Resource) β
β GitHub Repo β API Docs β Natural Language β Code Snippet β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
ββββββββββΌβββββββββ
β Step 1: Parse β Extract intent, schema,
β Resource β boundaries, domain
ββββββββββ¬βββββββββ
β
ββββββββββΌβββββββββ
β Step 2: Gen 4 β skill.yaml + impl.py +
β Files β test.py + manifest.json
ββββββββββ¬βββββββββ
β
ββββββββββΌβββββββββ
β Step 3: 5-Layerβ L1: Dependency scan
β Security Check β L2: Injection detection
β (Any fail = β L3: Secret detection
β BLOCK) β L4: Network boundary
ββββββββββ¬βββββββββ L5: Info leak guard
β
ββββββββββΌβββββββββ
β Step 4: Native β Run in isolated process
β Test β BLOCK on any failure
ββββββββββ¬βββββββββ
β
ββββββββββΌβββββββββ
β Step 5: Versionβ registry/{id}/{version}/
β Registry β Semver auto-increment
ββββββββββ¬βββββββββ Read-only history
β
ββββββββββΌβββββββββ
β Step 6: GitHub β Push to repo
β + ClawHub β + clawhub publish
βββββββββββββββββββ
| Layer | Check | Rule |
|---|---|---|
| L1 | Dependency Scan | Stdlib whitelist only β no third-party imports |
| L2 | Injection Guard | Block eval, exec, os.system, subprocess, pty |
| L3 | Secret Detection | No hardcoded API keys, tokens, passwords |
| L4 | Network Boundary | No network calls without perms: [net] declaration |
| L5 | Leak Prevention | No traceback, os.environ, or sensitive data in errors |
β οΈ Hard rule: Any layer fails = full block. No registry write, no GitHub push, no exceptions.
CoolSkill Builder generates skills that work everywhere:
import sys
sys.path.insert(0, 'registry/{skill-id}/{version}')
from impl import run
result = run({'x': 'input'})
# β {'s': 'ok', 'd': 'result', 'e': None}{
"name": "skill_name",
"arguments": "{\"x\": \"input\"}"
}<tool_use>
<name>skill_name</name>
<arguments>{"x": "input"}</arguments>
</tool_use>curl -X POST http://agent-cluster/skill/{skill-id} \
-H "Content-Type: application/json" \
-H "X-Skill-Version: {version}" \
-d '{"x": "input"}'Every skill lives in its own namespace. Forever.
registry/
βββ index.json # Global metadata index
βββ {domain}-{func}-{rand3}/ # e.g. text-slugify-a7k
βββ v1.0.0/ # Immutable archive
βββ v1.0.1/ # Current latest
βββ latest β v1.0.1 # Symlink
| Scenario | Version Bump |
|---|---|
| First creation | 1.0.0 |
| Bug fix / iteration | 1.0.1 (Patch +1) |
| Major feature change | 1.1.0 (Minor +1) |
| Breaking refactor | 2.0.0 (Major +1) |
| Script | Purpose |
|---|---|
scripts/security_scan.py |
Automatic L1-L5 security validation |
scripts/generate_skill_id.py |
Global unique skill ID generator |
scripts/validate_impl.py |
Syntax check + interface verification + token density |
| Document | Content |
|---|---|
| references/spec.md | Full spec: zero-dependency, token-efficiency, version isolation |
| references/file-templates.md | 4-file templates + cross-platform call examples |
| references/security-rules.md | 5-layer security validation rules |
| references/registry-format.md | Registry directory structure + index format |
We welcome contributions! Whether it's:
- π Bug reports
- π‘ Feature requests
- π Documentation improvements
- π§ New platform adapters
Please read our Contributing Guide before submitting PRs.
Fred Tai (@fredtai)
π§ Built by developers who believe Agent tools should be simple, safe, and universal.
MIT Β© Fred Tai