Skip to content
Back to skills

Code

ASecurity

Code intelligence over repositories Guaardvark has indexed: semantic code search, exact-text search, file listing, PageRank repository map, import dependency graph, reading one class or function, analysis and generated rewrites, plus the System Mapper and self-improvement status. Use when the user asks where something is implemented, how modules depend on each other, or wants an architecture map of an indexed repo.

  • 245 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentspythonnode

Works with

  • mcp

Security analysis

A100/100

Scanned September 30, 2026

npx -y skills add guaardvark/guaardvark --skill code --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/guaardvark-code/badge)](https://www.skillsdirectory.com/skills/guaardvark-code)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code
description: >-
  Code intelligence over repositories Guaardvark has indexed: semantic code search,
  exact-text search, file listing, PageRank repository map, import dependency graph,
  reading one class or function, analysis and generated rewrites, plus the System Mapper
  and self-improvement status. Use when the user asks where something is implemented, how
  modules depend on each other, or wants an architecture map of an indexed repo.
---

# Code intelligence with Guaardvark (MCP tools)

| tool | use |
|---|---|
| `list_code_repositories` | which folders are marked as repositories (gives the folder id) |
| `search_codebase` | semantic search over the indexed project: "where is thinking enabled per model" |
| `search_code` | case-insensitive regex across files |
| `list_code_files` | directory listing to orient |
| `read_code` | a file, or a line range of it (`start_line`, `end_line`); large files come back in pages |
| `read_ast_node` | one class or function by name from a Python file |
| `get_repository_map` | PageRank-ranked architectural map for a folder id |
| `get_dependency_graph` | file-level import graph for a folder id |
| `analyze_code` | structure, patterns, improvement notes for a file |
| `codegen` | a complete modified version of a file from instructions (writes a new file) |
| `verify_change` | confirm text now exists in a file after an edit |
| `map_codebase` | run the System Mapper: stats plus ranked findings |
| `self_improvement_status` | can the self-improvement engine run (lock, flag, already running) |
| `swarm_status` | the coding swarm (see the swarm skill) |

## Pattern

1. `list_code_repositories` → folder id.
2. `get_repository_map` for the shape, `search_codebase` for the question.
3. Read the exact code (`read_code` / `read_ast_node`) before answering; quote file and line.
4. Edits: make them with your own editor tools in the user's checkout; `verify_change` afterwards.

## Rules

- These tools read Guaardvark's index, which can lag the working tree; when it matters, read the
  file from disk too.
- `map_codebase` and `self_improvement_status` are read-only here. Dispatching a fix to the
  self-improvement engine is done in the Studio, on purpose.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.