跳到正文
TakoAPI
返回技能列表

index1

由 gladego 提供

Coding Agents & IDEs
547下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

AI memory system for coding agents — code index + cognitive facts, persistent across sessions.

描述

该技能的功能

Persistent memory system for coding agents that combines BM25 full-text and vector semantic search over indexed code and documents. Stores cognitive facts like decisions and lessons learned across sessions via 6 MCP tools. Works out of the box with built-in ONNX embeddings, no external embedding service required.

Hybrid BM25 + vector search with RRF fusion finds relevant code for exploratory questions where grep requires knowing the exact identifier, and can cross language boundaries that grep cannot.

何时使用

  • Finding how a feature works by concept rather than exact symbol name
  • Searching an English codebase using a Chinese or Japanese query
  • Recording architectural decisions so future agent sessions retain context
  • Reducing context window consumption when a keyword appears hundreds of times
  • Rebuilding the search index after adding new source files or docs

示例工作流

输入

User asks: how does the authentication flow work in this project?

智能体
  1. 1

    Agent calls recall with query 'authentication flow'

  2. 2

    index1 runs BM25 + vector hybrid search across indexed code and cognitive facts

  3. 3

    Returns ranked summaries of relevant files and any recorded decisions about auth

  4. 4

    Agent uses Grep for specific identifiers found in the summaries

  5. 5

    Agent composes answer from summaries and targeted grep results

输出

Explanation of the auth flow with file locations, using ~460 tokens instead of thousands from raw grep output

安装

clawhub install gladego/index1

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接