[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BXAF8V7V4KDD1GGE653BMG":3,"skill-same:01M6BXAF8V7V4KDD1GGE653BMG":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6BXAF8V7V4KDD1GGE653BMG","create-agent","Agent Smith 智能体定义（YAML）","use when asked to create, define, or modify an agent in YAML for Agent Smith, optionally exposes it as a subagent tool","当需要使用 YAML 在 Agent Smith 中创建、定义或修改 agent（智能体）时使用，可选择将其暴露为子代理工具。","lynxai-team\u002Fagent-smith","lynxai-team","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F251374637?v=4","01M6BXA5J9YTMDT46KAFFYCFFA","lynxai.team","01M6BXA5PK5C25QTMDWWX01H88",48,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flynxai-team\u002Fagent-smith\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fsrc\u002Ffeatures\u002Fskills\u002Fcreate-agent\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[31,32,33,34,35],"create agent","create","yaml","subagent","tool","2026-11-10 10:12:30",false,"---\nname: create-agent\ndescription: use when asked to create, define, or modify an agent in YAML for Agent Smith, optionally exposes it as a subagent tool\n---\n\n# Create an Agent in YAML\n\nDefine, register, and verify an AI agent from a YAML file in the Agent Smith framework.\n\n## Workflow\n\n1. **Ensure a registered features directory** (first time only) — edit the conf file to add your `features\u002F` root path, then run `lm conf`. The conf file lists the directories the framework scans for feature files; it is the source of truth for feature paths.\n2. **Write the agent YAML** — create `\u003Cname>.yml` in `features\u002Fagents\u002F`. The filename becomes the agent's default name (e.g., `my-agent.yml` → agent `my-agent`). Fill in the required fields (`description`, `prompt`, `model`) plus any optional ones from the field reference below.\n3. **Register** — run `lm update`. This triggers feature discovery: it scans registered directories, parses agent metadata, and upserts into the `agent` SQLite table (and creates `ToolSpec` entries in the `tool` table).\n4. **(Optional) Expose as a subagent** — add a `tool:` section to the YAML so other agents can call it, then run `lm update` again.\n5. **Verify**:\n\n```bash\nlm agents                    # agent appears in the list\nlm my-agent \"Hello\"           # runs the agent interactively\n```\n\n## Field reference\n\nRequired: `name` (from filename), `prompt` (system prompt template; `{prompt}` = user input), `description`, `model` (e.g., `qwen4b`).\n\nOptional: `category` (UI navigation), `template` (system prompt, stop sequences), `inferParams` (sampling: `temperature`, `top_p`, `top_k`, `min_p`, `repetition_penalty`), `variables` (input variable definitions with `required:`\u002F`optional:`), `toolsList` (references to registered tools by name), `tools` (inline tool definitions), `models` (alternative models for UI selection), `shots` (few-shot examples), `skills`, `workflow` (pre\u002Fpost steps), `mcp`.\n\n## Examples\n\nMinimal agent:\n\n```yaml\ndescription: \"My first agent\"\ncategory: myagents\u002Fgeneral\nprompt: |-\n    User query: {prompt}\nmodel: qwen4b\n```\n\nFull annotated example:\n\n```yaml\n# features\u002Fagents\u002Fmy-coder.yml\ndescription: \"A coding agent with file and shell access\"\ncategory: development\u002Fcoding\nprompt: |-\n    {prompt}\ntemplate:\n    system: |-\n      You are a coding agent. Follow instructions precisely.\n      Report back with a short summary when done.\nmodel: qwen35b\ninferParams:\n    min_p: 0\n    top_k: 20\n    top_p: 0.85\n    temperature: 0.6\n    repetition_penalty: 1\nvariables:\n  required:\n    workspace:\n      description: The local directory path where to operate\ntoolsList:\n  - read-file\n  - write-file\n  - edit-search-replace\n  - shell\n```\n\nSubagent (callable by other agents) — add a `tool:` section defining the interface:\n\n```yaml\n# features\u002Fagents\u002Fmy-search.yml\ntool:\n  name: my-search\n  description: Perform web search and return results\n  arguments:\n    prompt:\n      description: The search query or question\n      required: true\ndescription: \"A web search agent\"\nprompt: |-\n    Research the following: {prompt}\nmodel: qwen4b\ntoolsList:\n  - ddsearch\n  - openpage\n```\n\nOther agents reference it by its tool name in their `toolsList` (e.g., `- my-search`), then run `lm update`.\n\n## Gotchas\n\n- Simply running `lm conf` without first editing the conf file will NOT add a new features directory — the conf file is the source of truth for feature paths.\n- Every change to an agent's tool list requires re-registration: after adding, removing, or modifying entries in `toolsList` (or inline `tools`), run `lm update` again — the agent will not see new tools until then.\n- A subagent is NOT usable until registered: the `tool:` section only defines the interface; `lm update` creates the `ToolSpec` entry in the `tool` table that makes it callable. Without this step, parent agents referencing it in their `toolsList` get a \"tool not found\" error.\n- Renaming the YAML file changes the agent's default name — keep filenames stable or update references in other agents' `toolsList`.\n\n## References (load when needed)\n\n- Full schema and field-by-field guide: `agent-smith\u002Fdocsite\u002Fpublic\u002Fdoc\u002Freference\u002F1.howto-agents.md`\n- Minimal example agent: `agent-smith\u002Fexamples\u002Ffeatures\u002Fagents\u002Fgeneral-agent.yml`\n- Complex real-world example with template, variables, tools: `lynx-coder\u002Fdist\u002Fagents\u002Flx-coder.yml`\n- Feature discovery pipeline internals: `agent-smith\u002Fdocsite\u002Fpublic\u002Fdoc\u002Flibraries\u002Fcore\u002F3.feature-discovery.md`\n","# Create an Agent in YAML\n\nDefine, register, and verify an AI agent from a YAML file in the Agent Smith framework.\n\n## Workflow\n\n1. **Ensure a registered features directory** (first time only) — edit the conf file to add your `features\u002F` root path, then run `lm conf`. The conf file lists the directories the framework scans for feature files; it is the source of truth for feature paths.\n2. **Write the agent YAML** — create `\u003Cname>.yml` in `features\u002Fagents\u002F`. The filename becomes the agent's default name (e.g., `my-agent.yml` → agent `my-agent`). Fill in the required fields (`description`, `prompt`, `model`) plus any optional ones from the field reference below.\n3. **Register** — run `lm update`. This triggers feature discovery: it scans registered directories, parses agent metadata, and upserts into the `agent` SQLite table (and creates `ToolSpec` entries in the `tool` table).\n4. **(Optional) Expose as a subagent** — add a `tool:` section to the YAML so other agents can call it, then run `lm update` again.\n5. **Verify**:\n\n```bash\nlm agents                    # agent appears in the list\nlm my-agent \"Hello\"           # runs the agent interactively\n```\n\n## Field reference\n\nRequired: `name` (from filename), `prompt` (system prompt template; `{prompt}` = user input), `description`, `model` (e.g., `qwen4b`).\n\nOptional: `category` (UI navigation), `template` (system prompt, stop sequences), `inferParams` (sampling: `temperature`, `top_p`, `top_k`, `min_p`, `repetition_penalty`), `variables` (input variable definitions with `required:`\u002F`optional:`), `toolsList` (references to registered tools by name), `tools` (inline tool definitions), `models` (alternative models for UI selection), `shots` (few-shot examples), `skills`, `workflow` (pre\u002Fpost steps), `mcp`.\n\n## Examples\n\nMinimal agent:\n\n```yaml\ndescription: \"My first agent\"\ncategory: myagents\u002Fgeneral\nprompt: |-\n    User query: {prompt}\nmodel: qwen4b\n```\n\nFull annotated example:\n\n```yaml\n# features\u002Fagents\u002Fmy-coder.yml\ndescription: \"A coding agent with file and shell access\"\ncategory: development\u002Fcoding\nprompt: |-\n    {prompt}\ntemplate:\n    system: |-\n      You are a coding agent. Follow instructions precisely.\n      Report back with a short summary when done.\nmodel: qwen35b\ninferParams:\n    min_p: 0\n    top_k: 20\n    top_p: 0.85\n    temperature: 0.6\n    repetition_penalty: 1\nvariables:\n  required:\n    workspace:\n      description: The local directory path where to operate\ntoolsList:\n  - read-file\n  - write-file\n  - edit-search-replace\n  - shell\n```\n\nSubagent (callable by other agents) — add a `tool:` section defining the interface:\n\n```yaml\n# features\u002Fagents\u002Fmy-search.yml\ntool:\n  name: my-search\n  description: Perform web search and return results\n  arguments:\n    prompt:\n      description: The search query or question\n      required: true\ndescription: \"A web search agent\"\nprompt: |-\n    Research the following: {prompt}\nmodel: qwen4b\ntoolsList:\n  - ddsearch\n  - openpage\n```\n\nOther agents reference it by its tool name in their `toolsList` (e.g., `- my-search`), then run `lm update`.\n\n## Gotchas\n\n- Simply running `lm conf` without first editing the conf file will NOT add a new features directory — the conf file is the source of truth for feature paths.\n- Every change to an agent's tool list requires re-registration: after adding, removing, or modifying entries in `toolsList` (or inline `tools`), run `lm update` again — the agent will not see new tools until then.\n- A subagent is NOT usable until registered: the `tool:` section only defines the interface; `lm update` creates the `ToolSpec` entry in the `tool` table that makes it callable. Without this step, parent agents referencing it in their `toolsList` get a \"tool not found\" error.\n- Renaming the YAML file changes the agent's default name — keep filenames stable or update references in other agents' `toolsList`.\n\n## References (load when needed)\n\n- Full schema and field-by-field guide: `agent-smith\u002Fdocsite\u002Fpublic\u002Fdoc\u002Freference\u002F1.howto-agents.md`\n- Minimal example agent: `agent-smith\u002Fexamples\u002Ffeatures\u002Fagents\u002Fgeneral-agent.yml`\n- Complex real-world example with template, variables, tools: `lynx-coder\u002Fdist\u002Fagents\u002Flx-coder.yml`\n- Feature discovery pipeline internals: `agent-smith\u002Fdocsite\u002Fpublic\u002Fdoc\u002Flibraries\u002Fcore\u002F3.feature-discovery.md`\n",{"name":5,"description":7},"main","e8f77439e066ac9c34dc4ea47d83e8cf853e5b3f","packages\u002Fcore\u002Fsrc\u002Ffeatures\u002Fskills\u002Fcreate-agent",3,"https:\u002F\u002Fgithub.com\u002Flynxai-team\u002Fagent-smith","https:\u002F\u002Flynxai-team.github.io\u002Fagent-smith\u002F","https:\u002F\u002Fgithub.com\u002Flynxai-team","https:\u002F\u002Flynxai.team","Private AI - Take control of your cognitive infrastructure","2026-10-13 23:57:30",{"source":9,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add lynxai-team\u002Fagent-smith --skill create-agent",{"tool":57,"command":58},"bunx","bunx skills add lynxai-team\u002Fagent-smith --skill create-agent",{"tool":60,"command":61},"pnpm","pnpm dlx skills add lynxai-team\u002Fagent-smith --skill create-agent","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flynxai-team\u002Fagent-smith\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fsrc\u002Ffeatures\u002Fskills\u002Fcreate-agent\u002FSKILL.md",true,[],[66,83,97,109,127],{"skillNo":67,"name":68,"nameZh":69,"description":70,"descriptionZh":71,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":72,"categories":73,"keywords":76,"publishedAt":36},"01M6BXAGXQ7HCZ1J0M2TPWW6NR","create-workflow","Agent Smith 工作流编排","use when asked to create, define, or modify a workflow in Agent Smith - writes the .yml file in features\u002Fworkflows\u002F, chains actions\u002Fagents\u002Fadaptaters\u002Fcommands, registers it with lm update so it runs as `lm \u003Cname>` and can be exposed as an agent tool","当需要在 Agent Smith 中创建、定义或修改 workflow（工作流）时使用——在 features\u002Fworkflows\u002F 中写入 .yml 文件，串联 action\u002Fagent\u002Fadaptater\u002Fcommand，并通过 lm update 注册，使其可作为 `lm \u003Cname>` 运行，并可暴露为 agent 工具。","https:\u002F\u002Fgithub.com\u002Flynxai-team\u002Fagent-smith\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fsrc\u002Ffeatures\u002Fskills\u002Fcreate-workflow\u002FSKILL.md",[74,75],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[77,32,78,35,79,80,81,82],"create workflow","workflow","actions","file","update","workflows",{"skillNo":84,"name":85,"nameZh":86,"description":87,"descriptionZh":88,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":89,"categories":90,"keywords":93,"publishedAt":36},"01M6BXAD5MCK6N3SFDMRE7BAAN","create-adaptater","Agent Smith 适配器创建","use when asked to create, define, or modify an adaptater (adapter) in Agent Smith - writes the .js file in features\u002Fadaptaters\u002F, registers it with lm update so workflows can use it as a data transformation step between actions and agents","当需要在 Agent Smith 中创建、定义或修改 adaptater（适配器）时使用——在 features\u002Fadaptaters\u002F 中写入 .js 文件，并通过 lm update 注册，使工作流可将其用作 action 与 agent 之间的数据转换步骤。","https:\u002F\u002Fgithub.com\u002Flynxai-team\u002Fagent-smith\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fsrc\u002Ffeatures\u002Fskills\u002Fcreate-adaptater\u002FSKILL.md",[91,92],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[32,94,95,96,79,80,81,82],"create adaptater","js","data",{"skillNo":98,"name":99,"nameZh":100,"description":101,"descriptionZh":102,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":103,"categories":104,"keywords":107,"publishedAt":36},"01M6BXABB60RKKWKY02Z8BWRX3","create-action","Agent Smith 动作创建与修改","use when asked to create, define, or modify an action in Agent Smith - writes the .js\u002F.py\u002F.yml file in features\u002Factions\u002F, adds the","当用户要求在 Agent Smith 中创建、定义或修改某个 action（动作）时使用——在 features\u002Factions\u002F 目录中写入 .js\u002F.py\u002F.yml 文件，并添加……（原文在此截断）","https:\u002F\u002Fgithub.com\u002Flynxai-team\u002Fagent-smith\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fsrc\u002Ffeatures\u002Fskills\u002Fcreate-action\u002FSKILL.md",[105,106],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[108,32,95,79,80],"create action",{"skillNo":110,"name":111,"nameZh":112,"description":113,"descriptionZh":114,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":115,"categories":116,"keywords":123,"publishedAt":36},"01M6BXA9GZ3JJGGTMDQYTSV83J","update-doc-map","文档地图更新","read this only when instructed to update the documentation map","仅在收到更新文档地图（documentation map）的指示时读取此技能。","https:\u002F\u002Fgithub.com\u002Flynxai-team\u002Fagent-smith\u002Fblob\u002Fmain\u002Fmaintenance\u002Fskills\u002Fupdate-doc-map\u002FSKILL.md",[117,120],{"categoryNo":118,"categoryName":119,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",{"categoryNo":121,"categoryName":122,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C5C7NGT4DWWBE15R6QGEX5","技术文档编写",[124,81,125,126],"update doc map","doc","documentation",{"skillNo":128,"name":129,"nameZh":130,"description":131,"descriptionZh":132,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":137,"publishedAt":36},"01M6BXA80V4Y1PNEHPD1CGGMQA","document-agent-smith-package","agent-smith 包文档撰写","use when asked to create or update package documentation in the docsite","当被要求在文档站点（docsite）中创建或更新包文档时使用。","https:\u002F\u002Fgithub.com\u002Flynxai-team\u002Fagent-smith\u002Fblob\u002Fmain\u002Fmaintenance\u002Fskills\u002Fdocument-agent-smith-package\u002FSKILL.md",[135,136],{"categoryNo":118,"categoryName":119,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":121,"categoryName":122,"taxonomyType":28,"taxonomyTypeDesc":29},[138,139,32,81,126],"package","document agent smith package"]