retrieval
Skill by opensage-agent
Searches a codebase for symbol definitions and lists functions in a file with their line numbers. It suits developers who need to locate code structure quickly.
Install retrieval
Built from the published package, never by AI.
git clone --depth 1 https://github.com/opensage-agent/opensage-adk /tmp/opensage-adk && mkdir -p ~/.claude/skills && cp -r /tmp/opensage-adk/src/opensage/bash_tools/retrieval ~/.claude/skills/retrievalRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/opensage-agent/opensage-adk /tmp/opensage-adk && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/opensage-adk/src/opensage/bash_tools/retrieval ~/.gemini/antigravity-cli/skills/retrievalAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The retrieval skill is a category of tools for searching and retrieving code structure information, such as symbols and functions. Its search-symbol tool searches the codebase for the definition of a given symbol and returns ctags-style output. Its list-functions tool lists functions in a file through Neo4j queries over a code property graph, with start and end line numbers.
The source describes its main uses as finding where a symbol is defined, locating candidate functions for further analysis, and enumerating functions with their start and end lines. The list-functions tool needs Neo4j-backed graph data. The skill lists main, neo4j, codeql and joern as required sandbox components. It fits work that involves navigating and analysing code structure.
Written from the project's SKILL.md and checked against it.
What it can do
- search-symbolSearches the codebase for the definition of a given symbol, with ctags-style output.
- list-functionsLists functions in a file via Neo4j queries over the code property graph.
What you need
- Neo4j-backed graph data for list-functions
- Sandbox component: main
- Sandbox component: neo4j
- Sandbox components: codeql and joern
Try asking
- Find where the symbol parse_config is defined in this codebase.
- List all functions in src/server.py with their start and end lines.
- Use search-symbol to locate the definition of the Session class.
Good to know
- list-functions requires Neo4j-backed graph data.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/opensage/bash_tools/retrieval/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to retrieval
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
retrieval: common questions
What does the retrieval skill do?
It provides search-symbol to find where a symbol is defined and list-functions to enumerate functions in a file with their line numbers.
Does list-functions need a graph database?
Yes. The source says list-functions requires Neo4j-backed graph data over a code property graph.
What output does search-symbol return?
The source says search-symbol returns ctags-style output for the definition of a given symbol.
How do I install retrieval?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is retrieval free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is retrieval safe to use?
It scores 55 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to retrieval?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
