astcocoindexcode
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "astcocoindexcode" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b5e2aa5f3e64f1279e25eeb8e760c5a444edba6dd0e5b8ab4ddfee3965ef04f3. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/give-coding-agents-ast-backed-semantic-code-search-with-cocoindex-code before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Install CocoIndex Code as a skill, plugin, CLI, or MCP server so coding agents can initialize, update, and query a local AST-driven semantic code index.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Python tool install via pipx or uv; optional local or cloud embedding provider; Claude Code/Grok skill support or an MCP-capable coding agent
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "为编码代理提供基于AST的语义代码搜索功能,使用CocoIndex Code"
slug: "give-coding-agents-ast-backed-semantic-code-search-with-cocoindex-code"
version: "1.0.0"
displayName: "为编码代理提供基于AST的语义代码搜索功能,使用CocoIndex Code"
summary: "将 CocoIndex Code 安装为技能、插件、CLI 或 MCP 服务器,以便编码代理可以初始化、更新和查询本地 AST 驱动的语义代码索引。"
license: "MIT"
description: "将 CocoIndex Code 安装为技能、插件、CLI 或 MCP 服务器,以便编码代理可以初始化、更新和查询本地 AST 驱动的语义代码索引。"
github_stars: 2517
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 2517为编码代理提供基于AST的语义代码搜索功能,使用CocoIndex Code
Install CocoIndex Code as a skill, plugin, CLI, or MCP server so coding agents can initialize, update, and query local AST-backed semantic code indexes.
Prerequisites
Python tool install via pipx or uv; optional local or cloud embedding provider; Claude Code/Grok skill support or an MCP-capable coding agent
Installation
Use the upstream install or setup path that matches your environment:
- pipx install 'cocoindex-code[full]' # batteries included (local embeddings)
- pipx upgrade cocoindex-code # upgrade
- uv tool install --upgrade 'cocoindex-code[full]'
- npx skills add cocoindex-io/cocoindex-code
Requirements and caveats from upstream:
- Two install styles — they mirror the Docker image variants of the same names:
- cocoindex-code[full] — batteries-included. Pulls in sentence-transformers so local embeddings (no API key required) work out of the box. The ccc init interactive prompt defaults to [Snowflake/snowflake-arctic-embed-xs...
- cocoindex-code (slim) — LiteLLM-only; requires a cloud embedding provider and API key. Use when you don't want the local-embedding deps (~1 GB of torch + transformers).
Basic usage or getting-started notes:
-
Using pipx:
-
Using uv:
-
Next, set up your coding agent integration — or jump to Manual CLI Usage if you prefer direct control.
-
Extracted from upstream docs: https://raw.githubusercontent.com/cocoindex-io/cocoindex-code/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供基于AST的语义代码搜索功能,解决编码代理的代码索引与查询痛点
- 支持多种安装方式,适配不同开发环境
Areas to improve
-
description写错位置 Reported severity: Minor
触发描述未放置在 frontmatter 的 description 字段,仅在 skill_body 中有详细说明
Recommendation: 将核心触发描述精简后填入 frontmatter 的 description 字段,确保用户能快速理解 Skill 用途
Highlights
- 功能描述清晰,明确指出为编码代理提供AST驱动的语义代码索引能力
Areas to improve
-
缺少When to Use/示例章节 Reported severity: Minor
文档缺少明确的使用场景说明和端到端操作示例
Recommendation: 补充 When to Use 章节说明典型使用场景,并添加完整的初始化、更新、查询操作示例
Highlights
- 文档结构基本完整,包含前置条件、安装步骤和文档链接
Areas to improve
-
主要异常未处理/无确认机制 Reported severity: Major
未覆盖网络失败、依赖冲突、权限问题等主要异常场景,也未对不可逆操作提供确认机制
Recommendation: 补充常见异常处理建议,对覆盖安装等操作增加确认提示
Highlights
- 提供了多种安装路径和本地/云嵌入两种模式选择
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 34, 35 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 39, 40
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- cocoindex.io
- docs.astral.sh
- github.com
- pipx.pypa.io
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Python tool install via pipx or uv; optional local or cloud embedding provider; Claude Code/Grok skill support or an MCP-capable coding agent
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.