[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C1DXKS4N243H4A9JQ3Y03R":3,"skill-same:01M7C1DXKS4N243H4A9JQ3Y03R":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7C1DXKS4N243H4A9JQ3Y03R","skill-creator",null,"Create, validate, and install WasmEdge Agent skills - both markdown skills and Rust crate skills callable from rust cells. Use when the user asks to create a skill, turn a workflow, script, or helper into a reusable skill, add a Rust skill the agent can call, or asks how to write a SKILL.md and where skills live.","second-state\u002Fwasmedge-agent","second-state","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47135233?v=4","01M7C1DK69JXBJ2GYTJ9MCH8K5","Second State","01M7C1DK6XKP00Q2SGKPCRJG70",3,"MIT","https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: skill-creator\ndescription: Create, validate, and install WasmEdge Agent skills - both markdown skills and Rust crate skills callable from rust cells. Use when the user asks to create a skill, turn a workflow, script, or helper into a reusable skill, add a Rust skill the agent can call, or asks how to write a SKILL.md and where skills live.\n---\n\n# Skill Creator\n\nA skill is a directory with a `SKILL.md` file (YAML frontmatter + markdown instructions). At startup WasmEdge Agent reads only each skill's name and description into the system prompt; the full file loads on demand when a task matches. WasmEdge Agent follows the [Agent Skills standard](https:\u002F\u002Fagentskills.io\u002Fspecification) and extends it with Rust crate skills.\n\n| Kind | What it is | When to use |\n|---|---|---|\n| markdown | `SKILL.md` plus optional scripts, references, and assets | Workflows, CLI recipes, domain knowledge, multi-step instructions |\n| rust | A markdown skill that also ships a Rust crate mounted into the session workspace as `agent_lib::skills::\u003Cname>` | Capabilities that are naturally one function call: API wrappers, parsers, converters, computations |\n\nBefore writing a Rust skill, read [references\u002Frust-skills.md](references\u002Frust-skills.md) for the crate contract.\n\n## Creating a Skill\n\n1. **Pick the kind.** Default to markdown. Go Rust only when the agent should *call* the capability (`agent_lib::skills::my_skill::run(...)?`) instead of following instructions.\n2. **Pick the location.** Ask the user when it is not obvious from context:\n   - Project skill, shared via the repo: `.wasmedge-agent\u002Fskills\u002F\u003Cname>\u002F`\n   - Personal global skill: `~\u002F.wasmedge-agent\u002Fskills\u002F\u003Cname>\u002F`\n   - Shipped with an npm package: a `skills\u002F` directory in the package, or `pi.skills` paths in its `package.json`\n3. **Scaffold and write** the directory using the layout and frontmatter rules below. For a new project-local Rust skill, `rlm::skills::package(name, description, instructions, source)?` creates the crate and SKILL.md without overwriting existing files; see [the Rust skill contract](references\u002Frust-skills.md#scaffolding-from-a-cell).\n4. **Verify** the skill loads (see Verification).\n\nOn a name collision the first skill found wins. Precedence: explicit `--skill` paths and `skills` settings entries, then project, then global, then package, then built-in skills.\n\n## Layout\n\n```\nmy-skill\u002F\n├── SKILL.md              # Required: frontmatter + instructions\n├── Cargo.toml            # Rust skills only: makes the directory a crate\n├── src\u002Flib.rs            # Rust skills only: the callable implementation\n├── scripts\u002F              # Optional helper scripts the instructions reference\n├── references\u002F           # Optional detailed docs, loaded only when needed\n└── assets\u002F               # Optional templates and data files\n```\n\nEverything except `SKILL.md` is freeform. Reference files with paths relative to the skill directory; the agent resolves them against the directory containing `SKILL.md`.\n\n## Frontmatter\n\n```markdown\n---\nname: my-skill\ndescription: What this skill does and when to use it. Be specific.\n---\n```\n\n| Field | Required | Rules |\n|---|---|---|\n| `name` | Yes | Max 64 chars. Lowercase a-z, 0-9, hyphens. No leading\u002Ftrailing\u002Fconsecutive hyphens. Must match the parent directory name. |\n| `description` | Yes | Max 1024 chars. A skill with a missing or empty description is **silently not loaded**. |\n| `disable-model-invocation` | No | `true` hides the skill from the system prompt; only explicit `\u002Fskill:\u003Cname>` invokes it. |\n| `license` | No | License name or reference to a bundled file. |\n| `compatibility` | No | Max 500 chars. Environment requirements. |\n| `metadata` | No | Arbitrary key-value mapping. |\n| `allowed-tools` | No | Space-delimited pre-approved tools (experimental). |\n\nUnknown fields are ignored. Name violations produce warnings but the skill still loads.\n\n### Write the description for routing\n\nThe description is the only thing the model sees before deciding to load the skill. State what the skill does *and* the trigger conditions (\"Use when ...\"), naming the concrete tasks, tools, and phrases a request would contain.\n\nGood: `Extracts text and tables from PDF files, fills PDF forms, and merges PDFs. Use when working with PDF documents.`\nPoor: `Helps with PDFs.`\n\n### Write the body for progressive disclosure\n\nKeep `SKILL.md` short: the decision flow, the common commands, the contract. Push exhaustive detail (API schemas, full option lists, long examples) into `references\u002F*.md` and link them, so they only enter context when actually needed. State setup steps (installs, env vars, credentials) explicitly and early.\n\nFor Rust skills, the SKILL.md body **must document every public signature** (the mounted crate has no runtime introspection — SKILL.md is the API reference the model reads before calling).\n\n## Verification\n\nAfter writing the skill:\n\n1. Re-read the frontmatter and check every rule in the table above, especially that `name` matches the directory name and the description is non-empty.\n2. In an interactive session, `\u002Freload` picks up new skills without a restart; other sessions pick them up on start. Loading problems (bad name, missing description, name collisions) surface as warnings — ask the user to check, or check diagnostics yourself if you can.\n3. A loaded skill is also invocable as `\u002Fskill:\u003Cname>`, which the user can try directly.\n\nFor Rust skills, also run the checks in [references\u002Frust-skills.md](references\u002Frust-skills.md).\n","# Skill Creator\n\nA skill is a directory with a `SKILL.md` file (YAML frontmatter + markdown instructions). At startup WasmEdge Agent reads only each skill's name and description into the system prompt; the full file loads on demand when a task matches. WasmEdge Agent follows the [Agent Skills standard](https:\u002F\u002Fagentskills.io\u002Fspecification) and extends it with Rust crate skills.\n\n| Kind | What it is | When to use |\n|---|---|---|\n| markdown | `SKILL.md` plus optional scripts, references, and assets | Workflows, CLI recipes, domain knowledge, multi-step instructions |\n| rust | A markdown skill that also ships a Rust crate mounted into the session workspace as `agent_lib::skills::\u003Cname>` | Capabilities that are naturally one function call: API wrappers, parsers, converters, computations |\n\nBefore writing a Rust skill, read [references\u002Frust-skills.md](references\u002Frust-skills.md) for the crate contract.\n\n## Creating a Skill\n\n1. **Pick the kind.** Default to markdown. Go Rust only when the agent should *call* the capability (`agent_lib::skills::my_skill::run(...)?`) instead of following instructions.\n2. **Pick the location.** Ask the user when it is not obvious from context:\n   - Project skill, shared via the repo: `.wasmedge-agent\u002Fskills\u002F\u003Cname>\u002F`\n   - Personal global skill: `~\u002F.wasmedge-agent\u002Fskills\u002F\u003Cname>\u002F`\n   - Shipped with an npm package: a `skills\u002F` directory in the package, or `pi.skills` paths in its `package.json`\n3. **Scaffold and write** the directory using the layout and frontmatter rules below. For a new project-local Rust skill, `rlm::skills::package(name, description, instructions, source)?` creates the crate and SKILL.md without overwriting existing files; see [the Rust skill contract](references\u002Frust-skills.md#scaffolding-from-a-cell).\n4. **Verify** the skill loads (see Verification).\n\nOn a name collision the first skill found wins. Precedence: explicit `--skill` paths and `skills` settings entries, then project, then global, then package, then built-in skills.\n\n## Layout\n\n```\nmy-skill\u002F\n├── SKILL.md              # Required: frontmatter + instructions\n├── Cargo.toml            # Rust skills only: makes the directory a crate\n├── src\u002Flib.rs            # Rust skills only: the callable implementation\n├── scripts\u002F              # Optional helper scripts the instructions reference\n├── references\u002F           # Optional detailed docs, loaded only when needed\n└── assets\u002F               # Optional templates and data files\n```\n\nEverything except `SKILL.md` is freeform. Reference files with paths relative to the skill directory; the agent resolves them against the directory containing `SKILL.md`.\n\n## Frontmatter\n\n```markdown\n---\nname: my-skill\ndescription: What this skill does and when to use it. Be specific.\n---\n```\n\n| Field | Required | Rules |\n|---|---|---|\n| `name` | Yes | Max 64 chars. Lowercase a-z, 0-9, hyphens. No leading\u002Ftrailing\u002Fconsecutive hyphens. Must match the parent directory name. |\n| `description` | Yes | Max 1024 chars. A skill with a missing or empty description is **silently not loaded**. |\n| `disable-model-invocation` | No | `true` hides the skill from the system prompt; only explicit `\u002Fskill:\u003Cname>` invokes it. |\n| `license` | No | License name or reference to a bundled file. |\n| `compatibility` | No | Max 500 chars. Environment requirements. |\n| `metadata` | No | Arbitrary key-value mapping. |\n| `allowed-tools` | No | Space-delimited pre-approved tools (experimental). |\n\nUnknown fields are ignored. Name violations produce warnings but the skill still loads.\n\n### Write the description for routing\n\nThe description is the only thing the model sees before deciding to load the skill. State what the skill does *and* the trigger conditions (\"Use when ...\"), naming the concrete tasks, tools, and phrases a request would contain.\n\nGood: `Extracts text and tables from PDF files, fills PDF forms, and merges PDFs. Use when working with PDF documents.`\nPoor: `Helps with PDFs.`\n\n### Write the body for progressive disclosure\n\nKeep `SKILL.md` short: the decision flow, the common commands, the contract. Push exhaustive detail (API schemas, full option lists, long examples) into `references\u002F*.md` and link them, so they only enter context when actually needed. State setup steps (installs, env vars, credentials) explicitly and early.\n\nFor Rust skills, the SKILL.md body **must document every public signature** (the mounted crate has no runtime introspection — SKILL.md is the API reference the model reads before calling).\n\n## Verification\n\nAfter writing the skill:\n\n1. Re-read the frontmatter and check every rule in the table above, especially that `name` matches the directory name and the description is non-empty.\n2. In an interactive session, `\u002Freload` picks up new skills without a restart; other sessions pick them up on start. Loading problems (bad name, missing description, name collisions) surface as warnings — ask the user to check, or check diagnostics yourself if you can.\n3. A loaded skill is also invocable as `\u002Fskill:\u003Cname>`, which the user can try directly.\n\nFor Rust skills, also run the checks in [references\u002Frust-skills.md](references\u002Frust-skills.md).\n",{"name":5,"description":7},"main","c7f49b14704fb55ae65af8962385b61c0082903a","packages\u002Fcoding-agent\u002Fskills\u002Fskill-creator",0,"https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent","https:\u002F\u002Fgithub.com\u002Fsecond-state","http:\u002F\u002Fwww.secondstate.io","Fast, safe, portable & serverless. Deploy Rust functions in edge computing, Jamstack, SaaS and service mesh applications.","2026-10-14 08:28:41",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add second-state\u002Fwasmedge-agent --skill skill-creator",{"tool":39,"command":40},"bunx","bunx skills add second-state\u002Fwasmedge-agent --skill skill-creator",{"tool":42,"command":43},"pnpm","pnpm dlx skills add second-state\u002Fwasmedge-agent --skill skill-creator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fskill-creator\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Frust-skills.md","REFERENCE","参考文档",8999,"https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fskill-creator\u002Freferences\u002Frust-skills.md",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7C1ETGFAVJF0XXF421H8PH6","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7C1ER0BGQQK944SK6AP5YGQ","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7C1EN8DBF0GY529FV9FHRPE","rust-skill","A rust-backed test skill.","https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Frust-skill\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7C1EM31HANQC2W1XB63P8KY","rust-lib-missing","Rust skill missing its lib.rs.","https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Frust-lib-missing\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7C1EK2YTFMFAA8Q7N1CZNRQ","nested-child","Nested skill should be ignored.","https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002Fnested-child\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7C1EJ2Q34KJR9QEKJD3VR6W","root-skill-preferred","Root skill should win.","https:\u002F\u002Fgithub.com\u002Fsecond-state\u002Fwasmedge-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002FSKILL.md",[],[]]