agentleFS
jamie8johnsonjamie8johnson/cqs/.claude/skills/investigate/SKILL.md

investigate

Skill16 starsChanged 5 months agoMITView on GitHub

Run before starting an implementation task — scout + gather assemble relevant files, functions, tests, and notes into a brief.

74 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use qa-only, document-release and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AICreator-WindSkill

    qa-only

    纯 QA 报告工具。只生成 bug 报告,不修复。

    Also in 10 projects that use this

  • AICreator-WindSkill

    document-release

    技术作家工具。更新项目文档。

    Also in 9 projects that use this

  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    Also in 7 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 7 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 8 projects that use this

  • CodeWithBehnamSkill

    setup-browser-cookies

    Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.

    Also in 7 projects that use this

  • +4 more from AICreator-Wind
  • +1 more from ayuday

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 64 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run before starting any implementation task.

    line 9
  2. Very specific:

    Run cqs scout "<task_description>" --json via Bash

    line 17
  3. Distinctive:

    If scout returns no results, try a broader query or different phrasing

    line 52
  4. Very specific:

    If gather returns no code (token budget exhausted), increase --tokens or narrow the query

    line 53
  5. Distinctive:

    Always present the "Suggested Approach" — synthesize the scout+gather results into a 3-step plan

    line 54
  6. Distinctive:

    If relevant notes mention warnings or gotchas, highlight them prominently

    line 55
  7. Very specific:

    If stale files are found, suggest cqs index before proceeding

    line 56

“Common” is measured: kept by at least 6 in 10 of the 64 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Investigate

Run before starting any implementation task. Assembles all relevant context in one call.

Arguments

  • <task_description> — what you're about to implement (natural language)

Process

  1. Run cqs scout "<task_description>" --json via Bash
  2. Run cqs gather "<task_description>" --json --tokens 4000 via Bash
  3. Present results as an implementation brief

Output Format

Present this to the user (fill in from the JSON results):

## Investigation: <task_description>

### Relevant Files
<from scout: file groups ranked by relevance, with chunk names>

### Key Functions to Understand
<from gather: top functions with signatures, grouped by role>
- **Modify targets:** <functions that likely need changes>
- **Dependencies:** <functions called by the targets>
- **Tests:** <existing tests that cover these functions>

### Staleness
<from scout: any stale files that need reindexing>

### Notes
<from scout: any relevant project notes>

### Suggested Approach
Based on the code structure:
1. Start with <most relevant file/function>
2. Check <dependency> for the interface contract
3. Test coverage: <good/partial/none> — <recommendation>

Rules

  • If scout returns no results, try a broader query or different phrasing
  • If gather returns no code (token budget exhausted), increase --tokens or narrow the query
  • Always present the "Suggested Approach" — synthesize the scout+gather results into a 3-step plan
  • If relevant notes mention warnings or gotchas, highlight them prominently
  • If stale files are found, suggest cqs index before proceeding

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.