# query

Searches hypotheses and decisions under .fpf/ and shows each one with its layer, dependencies and R_eff score.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1100 installs · ★ 1787
- Author: NeoLabHQ
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/NeoLabHQ/context-engineering-kit/tree/HEAD/skills/query/SKILL.md
- Updated: 2026-08-26
- HTML: https://affpapa.org/en/nevibecode/skills/neolabhq-query

## What it does

The skill walks `.fpf/knowledge/` and `.fpf/decisions/`, matches your query and prints a table: hypothesis name, layer (L0, L1, L2 or invalid), kind and R_eff. For anything at L1 or above it reads the audit section and breaks down how the score was reached, weakest link included.

When a hypothesis has dependencies, you get a tree with R scores and congruence levels. You can search by keyword, by a specific ID, by layer, or across decision records. Evidence files are listed alongside.

It only works where a `.fpf/` structure already exists and holds content. Point it at an empty directory and the table comes back empty, so check that the knowledge base is populated first.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill query -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/query/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/query/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill query -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/query/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill query -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/query/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install NeoLabHQ/context-engineering-kit query
```

2. **Manually: put the files in place**
- File: `.github/skills/query/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill query -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/NeoLabHQ/context-engineering-kit --path skills/query
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/query/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add NeoLabHQ/context-engineering-kit --skill query -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/NeoLabHQ/context-engineering-kit/tree/HEAD/skills/query/SKILL.md

## When to use it
- find a hypothesis by keyword in the knowledge base
- see how an R_eff score was assembled
- trace the dependency tree of a hypothesis
- filter records by layer L0, L1 or L2
- list decision records and what they rejected

## Example prompts
- /fpf:query caching
- /fpf:query redis-caching
- /fpf:query L2

## Similar
- [second-brain-query](https://affpapa.org/en/nevibecode/skills/second-brain-query.md) — skill · 2500 installs
- [wiki-query](https://affpapa.org/en/nevibecode/skills/wiki-query.md) — skill · 3600 installs
- [qmd](https://affpapa.org/en/nevibecode/skills/qmd.md) — skill · 4100 installs
- [knowledge-synthesis](https://affpapa.org/en/nevibecode/skills/knowledge-synthesis.md) — skill · 6400 installs
- [llm-wiki](https://affpapa.org/en/nevibecode/skills/nashsu-llm-wiki.md) — skill · 1800 installs
- [elasticsearch-query-optimization](https://affpapa.org/en/nevibecode/skills/elasticsearch-query-optimization.md) — skill · 1100 installs

## Other versions with the same name
- [query · duckdb](https://affpapa.org/en/nevibecode/skills/query.md) — 1400 installs

From the same set: [neolabhq/context-engineering-kit](https://affpapa.org/en/nevibecode/by/neolabhq/context-engineering-kit.md) — 55 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
