中文 | English
A single discovery and bootstrap entry for the aelf skill ecosystem.
This repository provides:
- Bilingual entry docs for humans and AI agents.
- A machine-readable catalog:
skills-catalog.json. - One-click bootstrap:
bootstrap.sh.
Repository: https://github.com/AElfProject/aelf-skills
This is a client-agnostic prompt for OpenClaw, Codex, Cursor, and Claude Code.
Read first: skills-catalog.json, docs/SKILL_ROUTING_MATRIX.md, docs/AI_E2E_SCENARIOS.md.
Then run:
1) ./bootstrap.sh --source github --dest ./downloaded-skills
2) bun run health:check -- --skills-root ./downloaded-skills
3) for d in ./downloaded-skills/*; do [ -f "$d/package.json" ] || continue; (cd "$d" && bun run setup openclaw) || echo "[WARN] $(basename "$d") setup openclaw failed"; done
Routing rule: follow SKILL_ROUTING_MATRIX; if ambiguous, output Recommended/Alternative/Reason.
Failure rule: use Common Recovery Template in docs/AI_E2E_SCENARIOS.md.
This hub focuses on discovery, download, install, and capability indexing.
It does not replace each skill repository's own client integration logic.
Client-specific setup (OpenClaw, Cursor, Claude Desktop, Codex, Claude Code) remains inside each skill repo.
AI agents: jump to AI Navigation for routing and execution guides.
bun >= 1.1.0(hard requirement)npm >= 10git >= 2.39tar(GNU tar / bsdtar)
workspace.json paths use ${SKILLS_BASE} placeholders for portability.
workspace.json is Codex-local workspace config; external consumers should use skills-catalog.json as the data source.
export SKILLS_BASE=/path/to/your/workspaceExample:
${SKILLS_BASE}/AElf/aelf-node-skill${SKILLS_BASE}/awaken/awaken-agent-skills
npm install @blockchain-forever/aelf-skills
# or
bun add @blockchain-forever/aelf-skills# 1) Generate public catalog and sync README tables
bun run catalog:generate
# 2) Generate local catalog with sourcePath (for local bootstrap/health)
bun run catalog:generate:local
# 3) Run baseline gates
bun run health:check
bun run readme:check
bun run security:audit
# 4) Bootstrap selected skills
./bootstrap.sh --only aelf-node-skill --skip-install
# 5) Check hub/catalog update drift (non-blocking)
bun run update:check./bootstrap.sh [--catalog <path>] [--dest <dir>] [--source auto|npm|github|local] [--skip-install] [--skip-health] [--only <csv>]Defaults:
--source auto(npm first, fallback to github)- install enabled
- health check enabled
skills-catalog.jsonas catalog source
aelf-skills includes built-in update reminders for bootstrap, health:check, and catalog:generate.
Checks are non-blocking and cache-backed (default TTL 24h).
Reminder output is throttled to once per TTL window by lastNotifiedAt.
Commands:
bun run update:checkbun run update:check -- --forcebun run update:check:json
Environment variables:
AELF_SKILLS_UPDATE_CHECK=0|1(default1)AELF_SKILLS_UPDATE_TTL_HOURS=24(default24)AELF_SKILLS_UPDATE_CACHE_PATH=<path>(default~/.aelf-skills/update-check-cache.json)
skills-catalog.json is the stable machine interface.
Main fields per skill:
id,displayNamenpm(name,version)repository.httpsdescription,capabilitiesartifacts(skillMd,mcpServer,openclaw)setupCommandsclientSupportdependsOn(optional, schema1.2.0)
Schema references:
docs/schemas/workspace.schema.jsondocs/schemas/skill-frontmatter.schema.jsondocs/schemas/openclaw.schema.jsondocs/schemas/skills-catalog.schema.json
Schema evolution policy:
patch(1.2.x): wording/docs fixes, no field semantics change.minor(1.x.0): backward-compatible field additions.major(x.0.0): breaking changes only.
- Catalog field semantics: docs/CATALOG_SCHEMA.md | docs/CATALOG_SCHEMA.zh-CN.md
- Intent routing matrix: docs/SKILL_ROUTING_MATRIX.md | docs/SKILL_ROUTING_MATRIX.zh-CN.md
- End-to-end execution scenarios (with recovery): docs/AI_E2E_SCENARIOS.md | docs/AI_E2E_SCENARIOS.zh-CN.md
- Type safety baseline and rollout status: docs/TYPE_SAFETY_MATRIX.md | docs/TYPE_SAFETY_MATRIX.zh-CN.md
This section is auto-synced by bun run catalog:generate.
| ID | npm Package | Version | OpenClaw Tools | Description |
|---|---|---|---|---|
| aelf-node-skill | @blockchain-forever/aelf-node-skill | 0.1.3 | 11 | AElf node querying and contract execution skill for agents. |
| aelfscan-skill | @aelfscan/agent-skills | 0.2.2 | 61 | AelfScan explorer data retrieval and analytics skill for agents. |
| awaken-agent-skills | @awaken-finance/agent-kit | 1.2.4 | 11 | Awaken DEX trading and market data operations for agents. |
| eforest-agent-skills | @eforest-finance/agent-skills | 0.4.3 | 48 | eForest symbol and forest NFT operations for agent workflows. |
| portkey-ca-agent-skills | @portkey/ca-agent-skills | 1.1.5 | 28 | Portkey CA wallet registration/auth/guardian/transfer operations for agents. |
| portkey-eoa-agent-skills | @portkey/eoa-agent-skills | 1.2.4 | 21 | Portkey EOA wallet and asset operations for aelf agents. |
| tomorrowdao-agent-skills | @tomorrowdao/agent-skills | 0.1.4 | 41 | TomorrowDAO governance, BP, and resource operations for agents. |
If a check fails, use the Common Recovery Template.
# Check local source repositories from workspace.json
bun run health:check
# Check downloaded skills under specific root
bun run health:check -- --skills-root ./downloaded-skillsbootstrapdoes not execute setup commands.bootstraponly downloads, optionally installs dependencies, and runs health checks.- Use
bun run security:auditto detect risky setup command patterns.
CI workflow: .github/workflows/gates.yml
Fixture-based gate set:
catalog:generatewithtestdata/workspace.ci.jsonhealth:checkagainst fixture catalogreadme:checksecurity:auditbootstrap --only fixture-node-skill --source local --skip-install
- Contribution guide: CONTRIBUTING.zh-CN.md | CONTRIBUTING.md
- AI execution contract: docs/AI_SKILL_CONTRACT.zh-CN.md | docs/AI_SKILL_CONTRACT.md
- AI prompt template: docs/templates/AI_NEW_SKILL_PROMPT.zh-CN.md | docs/templates/AI_NEW_SKILL_PROMPT.md
- PR checklist: docs/templates/NEW_SKILL_CHECKLIST.zh-CN.md | docs/templates/NEW_SKILL_CHECKLIST.md
- Skill markdown template: docs/templates/SKILL_TEMPLATE.zh-CN.md | docs/templates/SKILL_TEMPLATE.md
- Golden path example: docs/examples/EXAMPLE_NEW_SKILL_DIFF.zh-CN.md | docs/examples/EXAMPLE_NEW_SKILL_DIFF.md