Skip to content
Back to skills

Code Query

ASecurity

Search the codebase and Obsidian vault together for relevant implementation and project context. Use when the user asks how something works, where it is implemented, or wants related notes alongside code results.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added June 5, 2026
researchdatabase

Works with

  • mcp

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add channingwalton/dotfiles --skill code-query --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Query?

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

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

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-query
description: Search the codebase and Obsidian vault together for relevant implementation and project context. Use when the user asks how something works, where it is implemented, or wants related notes alongside code results.
---

# Code Query

Answer a "how does X work / where is X" question from **both** the code and the vault. The
vault half is the point — code search alone misses the decisions, tickets and topic notes
that explain why the code is the way it is.

## Usage

```
/code-query <search-term>
```

`$ARGUMENTS` is the search term or question.

## Actions

1. Search the codebase. For Unison projects use the `unison` MCP server; otherwise locate
   first and read only the slice needed.
2. Search the vault for related context — task notes, Topics, Events — via the `obsidian-vault` skill.
3. Return consolidated results:
   - code locations as `file:line`
   - related vault notes as wikilinks
   - a short summary tying the two together

## Examples

```
/code-query authentication flow
/code-query how errors are handled
/code-query database connection
```

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.

View all in research →

Comments

Loading comments…

Newsletter

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