agentleFS
MicrosoftKnown publishermicrosoft/scope/.agents/skills/scope-cli/SKILL.md

scope-cli

Skill7 starsChanged 2 months agoMITView on GitHub

Interact with the Scope benchmarking platform using the Scope CLI — submit runs, list results, manage criteria, generate reports, and administer agents, skills, and MCP servers.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run it with pnpm cli from the repository root (scope-core).

    line 13
  2. Very specific:

    Do not assume the deferred scope auth login/keychain commands exist.

    line 24
  3. Distinctive:

    All non-public bearer calls verify the IdP token before Redis/Mongo resolution.

    line 43
  4. Distinctive:

    Never echo tokens or include them in URLs/debug output.

    line 46
  5. Very specific:

    All list/get commands accept -o, --output <format>:

    line 181
  6. Very specific:

    Use -o json when you need to parse output programmatically.

    line 234
  7. Very specific:

    Use --no-stream on run submit to get the ID immediately without blocking.

    line 235
  8. Very specific:

    Run IDs are UUIDs — use tab completion or copy from run list output.

    line 240

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Scope CLI

You have access to the Scope CLI — an AI coding-agent benchmarking platform. Run it with pnpm cli from the repository root (scope-core).

All commands below assume you are in the repo root. Prefix every invocation with pnpm cli.


Authentication and enrollment

The CLI's shared API transport can attach a caller-provided SCOPE_TOKEN containing an IdP access token. Already-enrolled users keep using that bearer unchanged; there is no Scope-token exchange or new CLI login implementation in this milestone. Do not assume the deferred scope auth login/keychain commands exist.

A new identity must explicitly call POST /api/v1/users/me using its IdP bearer before ordinary authenticated commands. Use the configured Scope API URL:

curl --fail-with-body -sS \
  -X POST \
  -H "Authorization: Bearer $SCOPE_TOKEN" \
  -H "Cache-Control: no-store" \
  "${SCOPE_API_URL%/}/api/v1/users/me"

This POST creates/refreshes the user, profile, lastLoginAt, and eligible bootstrap promotion; never prefetch, poll, or automatically use it to recover an ordinary lookup. GET /users/me only checks existing access. 403 user_not_enrolled calls for explicit enrollment; 403 user_disabled is a denial, not a refresh-token prompt. Invalid/expired bearer → 401; required Mongo/JWKS outage → 503.

All non-public bearer calls verify the IdP token before Redis/Mongo resolution. The active-user cache is fixed/non-sliding (300 seconds by default), so DB-only role/disable edits may remain stale until expiry. No raw bearer is cached by the API. Never echo tokens or include them in URLs/debug output. Public and anonymous rollout behavior is unchanged; full RBAC and interactive CLI auth remain deferred.

See Authentication & RBAC.


Quick Reference

In order to get the full updated reference, run pnpm cli --help or pnpm cli <command> --help for specific commands. Below is a summary of the most common commands.

Runs (benchmark executions)

ActionCommand
List runspnpm cli run list
List runs (JSON)pnpm cli run list -o json
Filter by workerpnpm cli run list -w coder-acp-copilot
Get run detailspnpm cli run get -i <id>
Check statuspnpm cli run status -i <id>
Stream logspnpm cli run logs -i <id>
Stream logs from startpnpm cli run logs -i <id> --from-start
Submit a runpnpm cli run submit -s <scenario.yaml> -w <worker>
Submit with messagepnpm cli run submit -m "your task" -w coder-acp-copilot
Submit with modelpnpm cli run submit -s <scenario> -w <worker> --model <model>
Submit with skillspnpm cli run submit -s <scenario> -w <worker> --skills <slug...>
Submit with MCP serverspnpm cli run submit -s <scenario> -w <worker> --mcp-servers <slug...>
Delete a runpnpm cli run delete -i <id>
Download artifactspnpm cli run download -i <id>
Download & extractpnpm cli run download -i <id> -e
Upload archivepnpm cli run upload <path>
Demo (multi-worker TUI)pnpm cli run demo -m "task" -w coder-acp-copilot,coder-acp-claude-code

Reports

ActionCommand
List reportspnpm cli report list
List for a runpnpm cli report list -r <run-id>
Generate reportpnpm cli report generate -i <run-id> --stream
Get reportpnpm cli report get -i <report-id>
Get as markdownpnpm cli report get -i <report-id> -o markdown
Stream report logspnpm cli report logs -i <report-id> --from-start

Report Templates

ActionCommand
List templatespnpm cli report-template list
Get templatepnpm cli report-template get -i <id>
Import templatespnpm cli report-template import <path>

Criteria (evaluation rubrics)

ActionCommand
List criteriapnpm cli criteria list
Search criteriapnpm cli criteria list -q "search term"
Get criterionpnpm cli criteria get -i <id>
Create criterionpnpm cli criteria create --id <snake_case_id> --prompt "eval prompt"
Update criterionpnpm cli criteria update -i <id> --prompt "new prompt"
Delete criterionpnpm cli criteria delete -i <id>
Show dependency graphpnpm cli criteria graph
Import from YAMLpnpm cli criteria import <path>
Dry-run importpnpm cli criteria import <path> --dry-run

Prompt Features

ActionCommand
List featurespnpm cli prompt-feature list
Get featurepnpm cli prompt-feature get -i <id>
Show graphpnpm cli prompt-feature graph
Import from YAMLpnpm cli prompt-feature import <path>
Extract from taskpnpm cli prompt-feature extract -t "task text"
Extract from scenariopnpm cli prompt-feature extract -s <scenario.yaml>

Agents

ActionCommand
List agentspnpm cli agent list
Get agentpnpm cli agent get -i <id>
List modelspnpm cli agent model list -i <agent-id>
List agent versionspnpm cli agent version list -i <agent-id>
Active versions onlypnpm cli agent version list -i <agent-id> --status active

Skills

ActionCommand
List skillspnpm cli skill list
Search skillspnpm cli skill search -q "query"
Get skillpnpm cli skill get -i <slug>
Import skillpnpm cli skill import --source <owner/repo> --skill-name <name>
Resolve (fetch latest)pnpm cli skill resolve -i <slug>
List revisionspnpm cli skill revisions -i <slug>
Delete skillpnpm cli skill delete -i <slug>

MCP Servers

ActionCommand
List MCP serverspnpm cli mcp server list
Get MCP serverpnpm cli mcp server get -i <slug>
Create MCP serverpnpm cli mcp server create --id <slug> --name "Name" --type sse --url <url>
Delete MCP serverpnpm cli mcp server delete -i <slug>

Insights

ActionCommand
List insightspnpm cli insight list
Search insightspnpm cli insight list -q "keyword"
Blocked onlypnpm cli insight list --blocked
Get insight (markdown)pnpm cli insight get -i <id> -o markdown
Create insightpnpm cli insight create --title "Title" --description "md body"
Upvote / downvotepnpm cli insight upvote -i <id>

Task Prompts

ActionCommand
List task promptspnpm cli task-prompt list
Search promptspnpm cli task-prompt list -s "search text"
Get promptpnpm cli task-prompt get -i <uuid>
Create promptpnpm cli task-prompt create -t "prompt text"
Create from filepnpm cli task-prompt create -f <path>
Extract featurespnpm cli task-prompt extract-features -i <uuid>

Output Formats

All list/get commands accept -o, --output <format>:

FormatUse case
tableHuman-readable (default)
tsvPipe to Unix tools (cut, awk, grep)
jsonProgrammatic access, AI agents
yamlHuman-friendly structured data

Examples:

# Get run details as JSON for parsing
pnpm cli run get -i <id> -o json

# List runs as TSV and filter with awk
pnpm cli run list -o tsv | awk -F'\t' '$3 == "completed"'

Common Workflows

Submit a benchmark and watch it

# Submit with streaming
pnpm cli run submit -s config/scenarios/my-scenario.yaml -w coder-acp-copilot

# Or submit without streaming and watch later
pnpm cli run submit -s config/scenarios/my-scenario.yaml -w coder-acp-copilot --no-stream
pnpm cli run logs -i <id> --from-start

Generate and read a report

pnpm cli report generate -i <run-id> --stream
pnpm cli report list -r <run-id>
pnpm cli report get -i <report-id> -o markdown

Import criteria and scenarios

pnpm cli criteria import config/criteria/ --dry-run
pnpm cli criteria import config/criteria/
pnpm cli criteria graph

Tips

  • Use -o json when you need to parse output programmatically.
  • Use --no-stream on run submit to get the ID immediately without blocking.
  • Scenario files are YAML and live in config/scenarios/.
  • Persona files live in config/personas/.
  • Traits files default to config/traits.yaml next to the persona.
  • Skill slugs use the format owner/repo/skill-name.
  • Run IDs are UUIDs — use tab completion or copy from run list output.

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.