Skip to content
DarkPrint
Aautogencode-index-search1.0.0

Code Index Search

Get card

Clone

npx -y darkprint clone code-index-search@1.0.0

There is no repository and no history behind a card. Download hands you the document as it stands, and Clone fetches the same document by name.

↓ 1 downloads

Search the indexed repositories for the symbols and snippets the strand names, and return each hit as a passage pinned to its file path, line range and commit.

used in 1 blueprint

Specification

125 words · handed to the agent

Search the indexed repositories for the symbols, paths and language filters named in the code strand you are given on query, and keep at most twenty hits. Emit each hit on passages as a snippet with six lines of context either side of the match, pinned to its repository, file path, line range and the commit sha the file was read at. Include matches under test directories: a test is often the clearest statement of what the code is meant to do. Check nothing out, run nothing, and write nothing back, the index is read-only, and the commit sha is what keeps a hit resolvable after the branch has moved on. You are done when every match you kept carries all five of those coordinates.

Interfaces

1 in · 1 out

Inputs

1
Inputs declared by this node card
NameData typeRequiredDescription
queryplan requiredThe code strand of the retrieval plan, symbols, paths and language filters.

Outputs

1
Outputs declared by this node card
NameData typeDescription
passagesjsonMatching snippets, each pinned to a repository, path, line range and commit sha.

Dependencies

1

The upstream nodes this card expects to receive from. Whenever a blueprint pins this card, each name is checked against a real edge in that graph. A name without a link is not a published card; it refers to a node inside some graph.

Card values

16 declared

Who the node is. The id is the key the DOT pins.

id
code-index-search
name
Code Index Search
type
tool
phases
none declared
Behaviourcard spec →

What it does, and the prose the agent is handed when the graph runs.

action28 words
Search the indexed repositories for the symbols and snippets the strand names, and return each hit as a passage pinned to its file path, line range and commit.
spec125 words
Search the indexed repositories for the symbols, paths and language filters named in the code strand you are given on query, and keep at most twenty hits. Emit each hit on passages as a snippet with six lines of context either side of the match, pinned to its repository, file path, line range and the commit sha the file was read at. Include matches under test directories: a test is often the clearest statement of what the code is meant to do. Check nothing out, run nothing, and write nothing back, the index is read-only, and the commit sha is what keeps a hit resolvable after the branch has moved on. You are done when every match you kept carries all five of those coordinates.in full above
model
whatever the graph supplies
agent
not named
skill
skills/code-index-search.md
tools
Git
mcp
git
params
max_hits: 20, context_lines: 6, include_tests: true
Interfacescard spec →

What arrives, what leaves, which nodes it expects to hear from, and what may not.

inputs
query : plan
outputs
passages : json
dependencies
retrieval-planner
cannot
no type is refused
will_not
check anything out of the repositories it searches, write to the index
Evaluation metadatacard spec →

The keys the static analysis reads. Nothing here instructs the agent.

risk_markers
none
notes33 words
Read-only, and pinned: every hit names the commit it came from, so a claim grounded in code still resolves after the branch has moved on. Nothing is checked out and nothing is written.
Service fieldscard spec →

The card's own version, and who wrote it.

version
1.0.0
author
autogen
provenance
not stated

Definitions for every card field

Version history

1 version published
  1. code-index-search@1.0.0currentsha256:9cf12dde438e8703e72bd54a0c6b26894302ab9e1f9ce5c6621e637a34a8903a

    pinned byGrounded Research Deskautogen/grounded-research-desk

A digest is a fingerprint (SHA-256) of the card's content, computed without the author and provenance fields. The same card from two people gets the same digest; any edit gets a new one.

First published version, so there is nothing to compare yet. Versions are never edited in place: the next change arrives as a new version, and the differences between the two documents are listed here.

Community notes (0)

No notes yet.

Nobody has posted about this node card yet.

Sign in to post a note.