global-project-index
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 "global-project-index" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a3b80897bf51befb394cea63d155ea339219f64f08f4c919ce263cbce9cbf2e2. Verify the upstream source and version against https://skillhub.cn/skills/user_287b0fec/global-project-index 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
global-project-index: Global project search and index management. Triggered by user commands such as “open project XX”, “/project XX”, “find XX”, “invoke XX”, or “adjust XX’s YY feature”. Uses a five-layer architecture: L1 project_index.json → L2 session history → L3 in-project files → L4 state linkage → L5 bulk management. Automatically discovers projects across the workspace and updates the index daily at 02:00.
Introduction source: third_party · user_287b0fec · 1.0.1 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
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: global-project-index
slug: global-project-index
version: 1.0.1
displayName: 全局项目检索
description: 全局项目检索与索引管理。当用户说「打开XX项目」「/项目 XX」「找XX」「调起XX」「调整XX的XX功能」时触发。五层架构:L1 project_index.json → L2 会话历史 → L3 项目内文件 → L4 状态联动 → L5 批量管理。自动发现全workspace项目,每日02:00定时更新。快速开始
- 安装后首次使用:直接说「打开XX项目」或
/项目 list - 索引自动生成:首次触发时自动扫描 workspace 生成
project_index.json - 每日自动更新:cron 每日 02:00 自动刷新索引(无需手动维护)
- 手动刷新:说「刷新项目索引」或
/项目 refresh
Global Project Index
五层架构
| 层级 | 功能 | 数据源 | 触发方式 |
|---|---|---|---|
| L1 | 主索引检索 | project_index.json |
始终触发 |
| L2 | 会话历史上下文 | lcm_grep |
自动嵌入 |
| L3 | 项目内文件搜索 | 实时扫描 | 自动嵌入 |
| L4 | 状态联动 | closed_tasks.json + cron |
自动同步 |
| L5 | 批量管理 | 列表 + 筛选 | 先生指令 |
触发方式
| 方式 | 示例 |
|---|---|
| 自然语言 | 「打开天气仪表盘」「调起盗墓笔记」 |
| 调整指令 | 「调整天气仪表盘的预警功能」「调整品牌库的搜索板块」 |
| 指令前缀 | /项目 XX /find XX /project XX |
| 批量管理 | /项目 list /项目 list --status=active |
| 搜索文件 | /项目 search 关键词 |
检索流程(五层)
先生查询
↓
L1: 读取 project_index.json → difflib 模糊匹配
字段: name / aliases / description / slug / keywords
支持: 中文 / 拼音全拼 / 拼音首字母 / 英文 / 模糊
↓
L2: lcm_grep(project_name) → 嵌入会话历史摘要
(关键决策 / 最近操作 / 相关文件)
↓
L3: 搜索项目目录内文件名含关键词的文件
(返回匹配文件列表)
↓
L4: closed_tasks.json 匹配 → 标注 terminated
cron 状态同步 → 标注 [CRON]
↓
返回完整项目卡片 + 操作按钮
检索能力
| 输入类型 | 示例 | 命中 |
|---|---|---|
| 中文 | 天气、品牌、盗墓 | 天气仪表盘、品牌信息库、北派盗墓笔记 |
| 拼音全拼 | tianqi、pinpai、daomu | 同上 |
| 拼音首字母 | tq、pp、dm | 同上 |
| 英文 | weather、brands | weather_dashboard、brands |
| 模糊词 | experience、improving | 经验累计模块、SI-Compound |
L4: 状态联动规则
| 触发条件 | 状态 |
|---|---|
| 无特殊标记 | active |
| closed_tasks.json 命中 + status=done/skipped | terminated |
目录含 CLOSED/DONE/terminated |
terminated |
| cron 关联 | 标注 [CRON] 标签 |
L5: 批量管理
| 指令 | 功能 |
|---|---|
/项目 list |
列出所有项目 |
/项目 list --status=active |
仅活动项目 |
/项目 list --status=terminated |
仅已关闭项目 |
/项目 search <关键词> |
跨项目文件搜索 |
/项目 refresh |
手动刷新索引 |
调整指令解析
当先生使用「调整XX的XX功能/板块」时:
先生:「调整天气仪表盘的预警功能」
↓
1. 提取项目名:「天气仪表盘」→ L1 检索定位项目
2. 提取功能名:「预警功能」→ 读取项目 README.md 或 key_files
3. 返回项目信息 + 功能说明 + 调整选项
调整流程:
- L1 定位项目 → 读取 README.md 提取功能列表
- L2 匹配先生意图(功能名模糊匹配)
- L3 定位到具体文件/模块
- 返回:当前状态 + 可调整项 + 操作建议
调整模式卡片:
┌──────────────────────────────────────┐
│ 天气仪表盘 · 可调整功能 │
├──────────────────────────────────────┤
│ 📌 预警功能(test_alert.js) │
│ 状态:已关闭(先生2026-07-18指令) │
│ → [查看代码] [启用] [删除] │
├──────────────────────────────────────┤
│ 📌 数据采集(fetch_weather.py) │
│ 状态:运行中 │
│ → [查看代码] [调整参数] [停用] │
└──────────────────────────────────────┘
┌──────────────────────────────────────┐
│ 天气仪表盘 · 任务日志 [active] │
│ 位置:D:\.qclaw\workspace\... │
│ 描述:深色科技风天气仪表盘... │
├──────────────────────────────────────┤
│ 📁 关键文件:dashboard.html, ... │
│ 📜 会话历史:3条相关记录 │
│ 📎 命中文件:test_alert.js │
├──────────────────────────────────────┤
│ [打开HTML] [打开目录] [查状态] │
│ [刷新索引] [关闭项目] │
└──────────────────────────────────────┘
资源
- 发现脚本:
scripts/project_discovery.py(v3.0,L1-L5) - 索引文件:
project_index.json(v3.0) - 状态联动:
memory/closed_tasks.json - 详情参考:
references/index_format.md
操作命令
| 操作 | 指令 |
|---|---|
| 打开项目 | 先生直接说「打开XX」 |
| 打开目录 | Start-Process {location} |
| 刷新索引 | 「刷新项目索引」 |
| 列出所有 | /项目 list |
| 搜索文件 | /项目 search <关键词> |
| 查看已关闭 | /项目 list --status=terminated |
检索无结果处理
当五层检索均未命中时,返回:
┌──────────────────────────────────────┐
│ 🔍 未找到匹配项目 │
├──────────────────────────────────────┤
│ 尝试以下操作: │
│ 1. 检查项目名拼写 │
│ 2. 使用 `/项目 refresh` 刷新索引 │
│ 3. 使用 `/项目 list` 查看所有项目 │
│ 4. 确认项目目录含 README.md │
└──────────────────────────────────────┘
触发条件:L1-L4 全部返回空且未匹配 closed_tasks.json
常见原因:
- 项目名拼写错误(支持中文/拼音/首字母/模糊匹配)
- 索引未生成(首次使用需等待自动生成,或手动执行
/项目 refresh) - 项目目录不含 README.md(识别条件)
- 项目已被关闭(查看
/项目 list --status=terminated)
Current listing version
1.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供五层架构项目检索能力,解决多项目 workspace 中快速定位的核心痛点
- 支持自动发现、每日定时更新和手动刷新,具备完整的闭环体验
- 覆盖项目打开、调整、批量管理等高频刚需场景
Highlights
- 触发词覆盖全面,支持自然语言、调整指令、指令前缀等多种方式
- 边界清晰,支持中文/拼音/首字母/英文/模糊匹配
- 批量管理和文件搜索指令设计合理
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档结构完整但缺少明确的 When to Use 使用场景说明章节
Recommendation: 建议增加 When to Use 章节,明确说明适用场景和使用时机
-
文档过长 Reported severity: Minor
文档内容详细但篇幅较长,可能影响用户快速理解
Recommendation: 建议适当精简内容或增加目录导航,提升可读性
Highlights
- 文档结构完整,包含快速开始、架构说明、触发方式、检索流程等关键章节
- 提供详细的五层架构说明和端到端示例
- frontmatter 完整,版本信息清晰
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.
-
Invoke commands or scripts
Read the script and arguments first. Use ordinary privileges and a scoped directory; confirm installation or execution in your host tool.
Mentioned in main document · lines 149
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
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.