[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FA9HF1FR2KPH7RZ1JNJKDF":3,"skill-same:01M7FA9HF1FR2KPH7RZ1JNJKDF":67},{"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},"01M7FA9HF1FR2KPH7RZ1JNJKDF","langchain-chatchat",null,"Route Langchain-Chatchat setup, RAG\u002FAPI service, Python SDK, and LangChain adapter workflows.","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\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: langchain-chatchat\ndescription: \"Route Langchain-Chatchat setup, RAG\u002FAPI service, Python SDK, and\n  LangChain adapter workflows.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Langchain-Chatchat Repo Skill\n\nUse this skill when a task involves Langchain-Chatchat: installing or initializing the package, configuring model providers and knowledge bases, operating the FastAPI\u002FWebUI service, calling the RAG\u002FOpenAI-compatible APIs, or using the Python SDK and LangChain adapter objects.\n\nRead [`references\u002Frepo-provenance.md`](references\u002Frepo-provenance.md) before deciding whether this skill is current for a new checkout. Read [`references\u002Fpackage-overview.md`](references\u002Fpackage-overview.md) for the package layout, distribution\u002Fimport names, and high-level workflow map. Use [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md) for cross-cutting install\u002Fimport\u002Fprovider\u002Fservice failures.\n\n## Quick orientation\n\nLangchain-Chatchat is an offline-friendly RAG and Agent application that wraps LLM\u002Fembedding providers behind a Chatchat API server and WebUI. The selected core surfaces are:\n\n- `langchain-chatchat` distribution, importing `chatchat` and `langchain_chatchat`.\n- `chatchat` CLI with `init`, `kb`, and `start` subcommands.\n- FastAPI routes for chat, knowledge-base management, OpenAI-compatible `\u002Fv1\u002F*`, tools, server state, and MCP connection management.\n- A separate SDK import package spelled `open_chatcaht` in this repository.\n\nMinimal public install and import smoke:\n\n```bash\npython -m pip install -U langchain-chatchat\npython - \u003C\u003C'PY'\nimport chatchat, langchain_chatchat\nprint(chatchat.__version__)\nprint(langchain_chatchat.__all__)\nPY\nchatchat --help\n```\n\nIf the task uses the SDK package, verify the import spelling explicitly:\n\n```bash\npython - \u003C\u003C'PY'\nimport open_chatcaht\nfrom open_chatcaht.chatchat_api import ChatChat\nprint(ChatChat)\nPY\n```\n\n## Route map\n\n| User request shape | Read next |\n| --- | --- |\n| Install, initialize data\u002Fconfig, pick `CHATCHAT_ROOT`, run `chatchat init`, rebuild KB files, start API\u002FWebUI, Docker\u002FXinference deployment, model-provider setup | [`sub-skills\u002Fserver-setup-and-cli\u002FSKILL.md`](sub-skills\u002Fserver-setup-and-cli\u002FSKILL.md) |\n| Build or troubleshoot chat\u002FRAG\u002FAPI calls, `\u002Fchat\u002Fchat\u002Fcompletions`, `\u002Fknowledge_base\u002F*`, tools, OpenAI-compatible `\u002Fv1\u002F*`, vector stores, temp-file chat, search-engine RAG | [`sub-skills\u002Fknowledge-base-and-api\u002FSKILL.md`](sub-skills\u002Fknowledge-base-and-api\u002FSKILL.md) |\n| Use the `open_chatcaht` SDK, `ChatChat` client, typed request models, streaming generators, `ChatPlatformAI`, `PlatformToolsRunnable`, MCP prompt utilities | [`sub-skills\u002Fpython-sdk-and-adapters\u002FSKILL.md`](sub-skills\u002Fpython-sdk-and-adapters\u002FSKILL.md) |\n| Need a safe environment\u002Fpackage smoke from any current directory | Run [`scripts\u002Fchatchat_env_probe.py`](scripts\u002Fchatchat_env_probe.py) |\n\n## Standard operating sequence\n\n1. Decide installation mode: prefer `pip install -U langchain-chatchat` for users; use editable source installs only for repository development or when matching a specific checkout.\n2. Set `CHATCHAT_ROOT` to the persistent data\u002Fconfig directory if the current working directory is not the intended data root.\n3. Run `chatchat init` once to create data directories, copy samples, initialize the metadata database, and generate YAML templates.\n4. Edit model-provider and KB YAML settings before vector rebuild or service startup. Chatchat expects an OpenAI-compatible provider such as Xinference, Ollama, LocalAI, FastChat, One API, OpenAI, or a custom OpenAI endpoint.\n5. Run `chatchat kb -r` only after the embedding provider is reachable. Use `chatchat kb --help` for incremental\u002Fupdate\u002Fprune modes.\n6. Start the service with `chatchat start --api`, `chatchat start --webui`, or `chatchat start -a` after provider and KB settings are valid.\n7. For API\u002FSDK tasks, confirm the API URL and model names before diagnosing request payloads.\n\n## Verification helpers\n\n- [`scripts\u002Fchatchat_env_probe.py`](scripts\u002Fchatchat_env_probe.py) checks importability, optional package presence, CLI availability, and selected package metadata without starting a server.\n- [`sub-skills\u002Fserver-setup-and-cli\u002Fscripts\u002Fchatchat_config_audit.py`](sub-skills\u002Fserver-setup-and-cli\u002Fscripts\u002Fchatchat_config_audit.py) inspects an initialized `CHATCHAT_ROOT` for expected YAML\u002Fdata directories and key settings.\n- [`sub-skills\u002Fknowledge-base-and-api\u002Fscripts\u002Fapi_surface_probe.py`](sub-skills\u002Fknowledge-base-and-api\u002Fscripts\u002Fapi_surface_probe.py) lists FastAPI routes using a temp or initialized data root without binding a port.\n- [`sub-skills\u002Fpython-sdk-and-adapters\u002Fscripts\u002Fsdk_surface_probe.py`](sub-skills\u002Fpython-sdk-and-adapters\u002Fscripts\u002Fsdk_surface_probe.py) lists SDK and adapter signatures without making HTTP calls.\n\nRun each helper with `--help` first. None of these helpers downloads models, starts long-running services, calls external APIs, or mutates user data unless a documented option says it will create a temporary local root.\n\n## Boundaries and cautions\n\n- Do not treat a CPU import as proof that a live LLM\u002Fembedding provider, Docker runtime, GPU model server, or external vector DB is working. Those are service\u002Fprovider checks.\n- Do not install Chatchat and a heavy model-serving framework into the same environment by default; the project documentation warns that model providers such as Xinference can conflict with the Chatchat environment.\n- Do not run vector rebuilds, live chat tests, Docker Compose, or AutoDL-style scripts unless the user has approved model downloads\u002Fservices, data mutation, and hardware use.\n- Do not copy old command names from stale docs. Current CLI help exposes `chatchat init`, `chatchat kb`, and `chatchat start`.\n","# Langchain-Chatchat Repo Skill\n\nUse this skill when a task involves Langchain-Chatchat: installing or initializing the package, configuring model providers and knowledge bases, operating the FastAPI\u002FWebUI service, calling the RAG\u002FOpenAI-compatible APIs, or using the Python SDK and LangChain adapter objects.\n\nRead [`references\u002Frepo-provenance.md`](references\u002Frepo-provenance.md) before deciding whether this skill is current for a new checkout. Read [`references\u002Fpackage-overview.md`](references\u002Fpackage-overview.md) for the package layout, distribution\u002Fimport names, and high-level workflow map. Use [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md) for cross-cutting install\u002Fimport\u002Fprovider\u002Fservice failures.\n\n## Quick orientation\n\nLangchain-Chatchat is an offline-friendly RAG and Agent application that wraps LLM\u002Fembedding providers behind a Chatchat API server and WebUI. The selected core surfaces are:\n\n- `langchain-chatchat` distribution, importing `chatchat` and `langchain_chatchat`.\n- `chatchat` CLI with `init`, `kb`, and `start` subcommands.\n- FastAPI routes for chat, knowledge-base management, OpenAI-compatible `\u002Fv1\u002F*`, tools, server state, and MCP connection management.\n- A separate SDK import package spelled `open_chatcaht` in this repository.\n\nMinimal public install and import smoke:\n\n```bash\npython -m pip install -U langchain-chatchat\npython - \u003C\u003C'PY'\nimport chatchat, langchain_chatchat\nprint(chatchat.__version__)\nprint(langchain_chatchat.__all__)\nPY\nchatchat --help\n```\n\nIf the task uses the SDK package, verify the import spelling explicitly:\n\n```bash\npython - \u003C\u003C'PY'\nimport open_chatcaht\nfrom open_chatcaht.chatchat_api import ChatChat\nprint(ChatChat)\nPY\n```\n\n## Route map\n\n| User request shape | Read next |\n| --- | --- |\n| Install, initialize data\u002Fconfig, pick `CHATCHAT_ROOT`, run `chatchat init`, rebuild KB files, start API\u002FWebUI, Docker\u002FXinference deployment, model-provider setup | [`sub-skills\u002Fserver-setup-and-cli\u002FSKILL.md`](sub-skills\u002Fserver-setup-and-cli\u002FSKILL.md) |\n| Build or troubleshoot chat\u002FRAG\u002FAPI calls, `\u002Fchat\u002Fchat\u002Fcompletions`, `\u002Fknowledge_base\u002F*`, tools, OpenAI-compatible `\u002Fv1\u002F*`, vector stores, temp-file chat, search-engine RAG | [`sub-skills\u002Fknowledge-base-and-api\u002FSKILL.md`](sub-skills\u002Fknowledge-base-and-api\u002FSKILL.md) |\n| Use the `open_chatcaht` SDK, `ChatChat` client, typed request models, streaming generators, `ChatPlatformAI`, `PlatformToolsRunnable`, MCP prompt utilities | [`sub-skills\u002Fpython-sdk-and-adapters\u002FSKILL.md`](sub-skills\u002Fpython-sdk-and-adapters\u002FSKILL.md) |\n| Need a safe environment\u002Fpackage smoke from any current directory | Run [`scripts\u002Fchatchat_env_probe.py`](scripts\u002Fchatchat_env_probe.py) |\n\n## Standard operating sequence\n\n1. Decide installation mode: prefer `pip install -U langchain-chatchat` for users; use editable source installs only for repository development or when matching a specific checkout.\n2. Set `CHATCHAT_ROOT` to the persistent data\u002Fconfig directory if the current working directory is not the intended data root.\n3. Run `chatchat init` once to create data directories, copy samples, initialize the metadata database, and generate YAML templates.\n4. Edit model-provider and KB YAML settings before vector rebuild or service startup. Chatchat expects an OpenAI-compatible provider such as Xinference, Ollama, LocalAI, FastChat, One API, OpenAI, or a custom OpenAI endpoint.\n5. Run `chatchat kb -r` only after the embedding provider is reachable. Use `chatchat kb --help` for incremental\u002Fupdate\u002Fprune modes.\n6. Start the service with `chatchat start --api`, `chatchat start --webui`, or `chatchat start -a` after provider and KB settings are valid.\n7. For API\u002FSDK tasks, confirm the API URL and model names before diagnosing request payloads.\n\n## Verification helpers\n\n- [`scripts\u002Fchatchat_env_probe.py`](scripts\u002Fchatchat_env_probe.py) checks importability, optional package presence, CLI availability, and selected package metadata without starting a server.\n- [`sub-skills\u002Fserver-setup-and-cli\u002Fscripts\u002Fchatchat_config_audit.py`](sub-skills\u002Fserver-setup-and-cli\u002Fscripts\u002Fchatchat_config_audit.py) inspects an initialized `CHATCHAT_ROOT` for expected YAML\u002Fdata directories and key settings.\n- [`sub-skills\u002Fknowledge-base-and-api\u002Fscripts\u002Fapi_surface_probe.py`](sub-skills\u002Fknowledge-base-and-api\u002Fscripts\u002Fapi_surface_probe.py) lists FastAPI routes using a temp or initialized data root without binding a port.\n- [`sub-skills\u002Fpython-sdk-and-adapters\u002Fscripts\u002Fsdk_surface_probe.py`](sub-skills\u002Fpython-sdk-and-adapters\u002Fscripts\u002Fsdk_surface_probe.py) lists SDK and adapter signatures without making HTTP calls.\n\nRun each helper with `--help` first. None of these helpers downloads models, starts long-running services, calls external APIs, or mutates user data unless a documented option says it will create a temporary local root.\n\n## Boundaries and cautions\n\n- Do not treat a CPU import as proof that a live LLM\u002Fembedding provider, Docker runtime, GPU model server, or external vector DB is working. Those are service\u002Fprovider checks.\n- Do not install Chatchat and a heavy model-serving framework into the same environment by default; the project documentation warns that model providers such as Xinference can conflict with the Chatchat environment.\n- Do not run vector rebuilds, live chat tests, Docker Compose, or AutoDL-style scripts unless the user has approved model downloads\u002Fservices, data mutation, and hardware use.\n- Do not copy old command names from stale docs. Current CLI help exposes `chatchat init`, `chatchat kb`, and `chatchat start`.\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",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 langchain-chatchat",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill langchain-chatchat",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill langchain-chatchat","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002FSKILL.md",[49,55,59,63],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fpackage-overview.md","REFERENCE","参考文档",4011,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Freferences\u002Fpackage-overview.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Frepo-provenance.md",3268,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Freferences\u002Frepo-provenance.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Frepo-routing-metadata.json",359,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Freferences\u002Frepo-routing-metadata.json",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Ftroubleshooting.md",6325,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Flangchain-chatchat\u002Freferences\u002Ftroubleshooting.md",[68,76,81,88,95,102],{"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":72,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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":77,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"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":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"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":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"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",[],[]]