Scope

From sdemyanov/retriever · View interactive version

Scope is an AI agent skill from the GitHub repository sdemyanov/retriever. This skill should be used when the user types "/scope", "/scope list", "/scope clear", "/scope save ...", or "/scope load ...". It exposes Retriever's visible slash-command surface for inspecting and managing the active scope.

How to use this skill

Skill file

Operates under retriever:routing. If the user's intent actually fits a different tier — another retriever:* skill, a Tier 2 slash, a Tier 3 tools.py subcommand, or (last resort) direct DB access — stop and re-route against the ladder before continuing.

Retriever /scope

Use this skill for /scope, /scope list, /scope clear, /scope save <name>, and /scope load <name>.

Read-only fast path

For the exact read-only forms /scope and /scope list:

Other forms

For /scope clear, /scope save <name>, and /scope load <name>:

  1. Read ../search/SKILL.md.
  2. Treat this skill as the slash command /scope.
  3. Return only the resulting Retriever state or table output. Do not add a preamble, trailing summary, or follow-up suggestion.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.