Skip to content
Agentmart
Submit a tool

scoping

Use when a user asks what an agent key can do, how Shuriken permissions work, or which scopes they need for a given integration.

Skill by ShurikenTrade

IndexedMIT★ 89
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/shurikentrade-scoping

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when a user asks what an agent key can do, how Shuriken permissions work, or which scopes they need for a given integration.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/scoping

What's inside

Skill name
scoping
Description
Use when a user asks what an agent key can do, how Shuriken permissions work, or which scopes they need for a given integration.
License
MIT
Instructions
52 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Scoping an agent key

Every agent key carries a set of scopes. A scope is a capability grant — read tokens, execute trades, read positions, deliver notifications. The server enforces scopes on every tool call and API endpoint; a call outside the granted scope fails with a structured authorization error.

## Best practice: grant the minimum scopes the agent key actually needs

This is the single most important rule for agent-key scoping. For every agent key, grant **only** the scopes the integration actively uses — nothing speculative, nothing "just in case," nothing broader than the job requires.

Concretely:

- Start from what the integration does on its hot path, and enumerate only those capabilities.
- When in doubt, grant less and widen later if the integration errors on a missing scope.
- Create a separate agent key per integration (or per purpose) rather than one fat key reused everywhere — that way each key's scope surface stays tight.
- If a scope is required for a one-off setup step but not for steady-state operation, consider doing the setup with a broader key and then running with a narrower one.

Broader scopes are a liability: a leaked key is only as dangerous as the capabilities it carries.

## Principles

- **Separate read from write.** Read scopes are generally safe; write/execute scopes move money or send messages and deserve more scrutiny.
- **Per-integration, not per-user-role.** A scope is a capability, not a persona. Reason about what the integration *does*, not who the user is.

## Scope categories

Authoritative scope names live in the docs; these are the categories to reason about:

- **Read scopes** — querying token info, positions, wallet balances, alpha signals. Safe for analytics and display use cases.
- **Trading scopes** — planning trades, executing trades, cancelling orders. Required for any integration that moves funds.
- **Delivery scopes** — sending notifications (Telegram, email) on behalf of the user. Rate-limited.
- **Administrative scopes** — managing the user's agent keys themselves, linked wallets, etc. Typically not needed by third-party integrations.

Fetch `https://docs.shuriken.trade/llms.txt` for the current authoritative scope list and the exact names to pass when minting a key.

## Common scope combinations

- *Read-only analytics dashboard*: read scopes only.
- *Automated trading bot*: read scopes + trading scopes.
- *Notification/alert service*: read scopes + delivery scopes.
- *Full-service trading + notifications*: read scopes + trading scopes + delivery scopes.

## When a call fails on scope

The error response names the missing scope. Two valid responses:
1. If the scope is genuinely needed, guide the user to rotate the key with the added scope.
2. If the scope should not be needed (the call is read-only but erroring on a write scope), something in the integration is calling the wrong endpoint — investigate before granting.

## Pointers

- Platform documentation (including scope reference): fetch `https://docs.shuriken.trade/llms.txt` and search for "scopes"
- Related skills: `shuriken:agent-keys`, `shuriken:api-integration`

From ShurikenTrade/shuriken-skills, MIT.

Signals

Stars
89
Forks
6
Open issues
0
Last commit (this folder)
Apr 23, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ShurikenTrade

Cite this page

scoping skill. Agent Mart. https://agentmart.dev/skills/shurikentrade-scoping (last updated 2026-10-24)