[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FA9STKWWWH5VSQDGJ12SWE":3,"skill-same:01M7FA9STKWWWH5VSQDGJ12SWE":71},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7FA9STKWWWH5VSQDGJ12SWE","server-setup-and-cli",null,"Install, initialize, configure, and start Langchain-Chatchat with the chatchat CLI, data root, model providers, and deployment options.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Fsub-skills\u002Fserver-setup-and-cli\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: server-setup-and-cli\ndescription: \"Install, initialize, configure, and start Langchain-Chatchat with\n  the chatchat CLI, data root, model providers, and deployment options.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Server Setup and CLI\n\nUse this sub-skill for Langchain-Chatchat installation, `CHATCHAT_ROOT`, YAML configuration, `chatchat init`, `chatchat kb`, `chatchat start`, Docker\u002FXinference deployment planning, and model-provider setup.\n\n## Read first\n\n- [`references\u002Fcli-reference.md`](references\u002Fcli-reference.md) lists verified CLI commands and flags.\n- [`references\u002Fconfiguration.md`](references\u002Fconfiguration.md) explains `CHATCHAT_ROOT`, generated YAML files, and important settings groups.\n- [`references\u002Fmodel-provider-setup.md`](references\u002Fmodel-provider-setup.md) explains provider separation, model names, and Xinference\u002FOllama\u002FLocalAI\u002FFastChat\u002FOne API style configuration.\n- [`references\u002Fdeployment.md`](references\u002Fdeployment.md) covers pip\u002Fsource\u002FDocker deployment choices and why AutoDL scripts are not bundled as runnable helpers.\n- [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md) gives setup-specific symptoms and recovery steps.\n- Run [`scripts\u002Fchatchat_config_audit.py`](scripts\u002Fchatchat_config_audit.py) against an initialized data root to check expected config\u002Fdata files without starting services.\n\n## Setup workflow\n\n1. **Choose environment.** Use Python 3.10 or 3.11. Prefer a clean Chatchat environment. Keep heavy model-serving frameworks in separate envs\u002Fcontainers unless the user explicitly wants a combined setup.\n2. **Install package.** For normal users, use `python -m pip install -U langchain-chatchat`. For source development, install the server package editable from the server package root.\n3. **Pick data root.** Set `CHATCHAT_ROOT` to a persistent directory if the current working directory is not the desired data\u002Fconfig location.\n4. **Initialize.** Run `chatchat init` before any service startup. Do not use `--recreate-kb` until embedding provider settings are valid.\n5. **Edit YAML.** Update model platform, default LLM, default embedding model, server host\u002Fport, KB\u002Fvector-store settings, and tool settings as needed.\n6. **Rebuild or update KB.** Run `chatchat kb -r` for full vector rebuild only after the embedding model is reachable. Use update\u002Fincrement\u002Fprune flags for lighter maintenance.\n7. **Start service.** Use `chatchat start --api`, `chatchat start --webui`, or `chatchat start -a`.\n8. **Validate endpoints.** Open API docs at the API service root redirect or use API\u002FSDK probes from sibling sub-skills.\n\n## CLI quick reference\n\n```bash\nchatchat --help\nchatchat init --help\nchatchat kb --help\nchatchat start --help\n```\n\nCommon command sequence:\n\n```bash\nexport CHATCHAT_ROOT=\u002Fpath\u002Fto\u002Fchatchat-data\nchatchat init\n# edit generated YAML files: model_settings.yaml, kb_settings.yaml, basic_settings.yaml, tool_settings.yaml, prompt_settings.yaml\nchatchat kb -r\nchatchat start -a\n```\n\nIf `chatchat kb -r` fails, do not retry blindly. Confirm the embedding provider endpoint and model name first.\n\n## Boundary with sibling sub-skills\n\n- After the API\u002FWebUI process is running, use [`..\u002Fknowledge-base-and-api\u002FSKILL.md`](..\u002Fknowledge-base-and-api\u002FSKILL.md) for route payloads, RAG modes, tools, and vector-store API calls.\n- Use [`..\u002Fpython-sdk-and-adapters\u002FSKILL.md`](..\u002Fpython-sdk-and-adapters\u002FSKILL.md) for SDK clients, `open_chatcaht`, and LangChain adapter classes.\n- Return here when an API\u002FSDK failure points to missing config, wrong model names, `CHATCHAT_ROOT`, provider reachability, or service startup.\n\n## Safety rules\n\n- Do not start Docker Compose, model downloads, or AutoDL process-killing scripts without explicit user approval.\n- Do not run `chatchat kb --clear-tables`, prune commands, or `--recreate-kb` against user data until the target `CHATCHAT_ROOT` and backup status are clear.\n- Do not claim GPU\u002Fprovider readiness from package import or CLI help. Provider readiness requires provider-specific checks.\n","# Server Setup and CLI\n\nUse this sub-skill for Langchain-Chatchat installation, `CHATCHAT_ROOT`, YAML configuration, `chatchat init`, `chatchat kb`, `chatchat start`, Docker\u002FXinference deployment planning, and model-provider setup.\n\n## Read first\n\n- [`references\u002Fcli-reference.md`](references\u002Fcli-reference.md) lists verified CLI commands and flags.\n- [`references\u002Fconfiguration.md`](references\u002Fconfiguration.md) explains `CHATCHAT_ROOT`, generated YAML files, and important settings groups.\n- [`references\u002Fmodel-provider-setup.md`](references\u002Fmodel-provider-setup.md) explains provider separation, model names, and Xinference\u002FOllama\u002FLocalAI\u002FFastChat\u002FOne API style configuration.\n- [`references\u002Fdeployment.md`](references\u002Fdeployment.md) covers pip\u002Fsource\u002FDocker deployment choices and why AutoDL scripts are not bundled as runnable helpers.\n- [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md) gives setup-specific symptoms and recovery steps.\n- Run [`scripts\u002Fchatchat_config_audit.py`](scripts\u002Fchatchat_config_audit.py) against an initialized data root to check expected config\u002Fdata files without starting services.\n\n## Setup workflow\n\n1. **Choose environment.** Use Python 3.10 or 3.11. Prefer a clean Chatchat environment. Keep heavy model-serving frameworks in separate envs\u002Fcontainers unless the user explicitly wants a combined setup.\n2. **Install package.** For normal users, use `python -m pip install -U langchain-chatchat`. For source development, install the server package editable from the server package root.\n3. **Pick data root.** Set `CHATCHAT_ROOT` to a persistent directory if the current working directory is not the desired data\u002Fconfig location.\n4. **Initialize.** Run `chatchat init` before any service startup. Do not use `--recreate-kb` until embedding provider settings are valid.\n5. **Edit YAML.** Update model platform, default LLM, default embedding model, server host\u002Fport, KB\u002Fvector-store settings, and tool settings as needed.\n6. **Rebuild or update KB.** Run `chatchat kb -r` for full vector rebuild only after the embedding model is reachable. Use update\u002Fincrement\u002Fprune flags for lighter maintenance.\n7. **Start service.** Use `chatchat start --api`, `chatchat start --webui`, or `chatchat start -a`.\n8. **Validate endpoints.** Open API docs at the API service root redirect or use API\u002FSDK probes from sibling sub-skills.\n\n## CLI quick reference\n\n```bash\nchatchat --help\nchatchat init --help\nchatchat kb --help\nchatchat start --help\n```\n\nCommon command sequence:\n\n```bash\nexport CHATCHAT_ROOT=\u002Fpath\u002Fto\u002Fchatchat-data\nchatchat init\n# edit generated YAML files: model_settings.yaml, kb_settings.yaml, basic_settings.yaml, tool_settings.yaml, prompt_settings.yaml\nchatchat kb -r\nchatchat start -a\n```\n\nIf `chatchat kb -r` fails, do not retry blindly. Confirm the embedding provider endpoint and model name first.\n\n## Boundary with sibling sub-skills\n\n- After the API\u002FWebUI process is running, use [`..\u002Fknowledge-base-and-api\u002FSKILL.md`](..\u002Fknowledge-base-and-api\u002FSKILL.md) for route payloads, RAG modes, tools, and vector-store API calls.\n- Use [`..\u002Fpython-sdk-and-adapters\u002FSKILL.md`](..\u002Fpython-sdk-and-adapters\u002FSKILL.md) for SDK clients, `open_chatcaht`, and LangChain adapter classes.\n- Return here when an API\u002FSDK failure points to missing config, wrong model names, `CHATCHAT_ROOT`, provider reachability, or service startup.\n\n## Safety rules\n\n- Do not start Docker Compose, model downloads, or AutoDL process-killing scripts without explicit user approval.\n- Do not run `chatchat kb --clear-tables`, prune commands, or `--recreate-kb` against user data until the target `CHATCHAT_ROOT` and backup status are clear.\n- Do not claim GPU\u002Fprovider readiness from package import or CLI help. Provider readiness requires provider-specific checks.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Flangchain-chatchat\u002Fsub-skills\u002Fserver-setup-and-cli",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill server-setup-and-cli",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill server-setup-and-cli",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill server-setup-and-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Fsub-skills\u002Fserver-setup-and-cli\u002FSKILL.md",[49,55,59,63,67],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcli-reference.md","REFERENCE","参考文档",3434,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Fsub-skills\u002Fserver-setup-and-cli\u002Freferences\u002Fcli-reference.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fconfiguration.md",3684,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Fsub-skills\u002Fserver-setup-and-cli\u002Freferences\u002Fconfiguration.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fdeployment.md",3490,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Fsub-skills\u002Fserver-setup-and-cli\u002Freferences\u002Fdeployment.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fmodel-provider-setup.md",3654,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Fsub-skills\u002Fserver-setup-and-cli\u002Freferences\u002Fmodel-provider-setup.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Ftroubleshooting.md",3500,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Fsub-skills\u002Fserver-setup-and-cli\u002Freferences\u002Ftroubleshooting.md",[72,80,85,92,99,106],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":81,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]