agentstack-projects
Use for project / workspace / tenant management, scoped API keys for AI agents (with service_caps), usage stats, ecosystem integrations.
Skill by agentstacktech
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/agentstacktech-agentstack-projects
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.
About
Use cases: backend
Reviews
Write a reviewNo 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/agentstack-projects
What's inside
- Skill name
agentstack-projects- Description
- Use for project / workspace / tenant management, scoped API keys for AI agents (with service_caps), usage stats, ecosystem integrations. Every AgentStack resource lives under a project.
- License
- MIT
- Instructions
- 101 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# AgentStack Projects + API Keys
Everything in AgentStack is project-scoped. Projects are also the unit for billing, limits, telemetry.
## UI discovery
When the user asks where a feature lives in the app, use `docs/plugins/UI_SURFACE_REGISTRY_FOR_AGENTS.md` and `docs/dual-shell/PAGES_MAP.md` — do not invent `/dev` routes. Gene: `frontend.spa.ui_surface_registry.gen1`.
## Decision matrix
| User says | MCP action |
|-----------------------------------------------------|--------------------------------------------------------------------|
| "try without signup / no API key yet" (key-based clients) | `projects.create_project_anonymous` — top-level `user_api_key` or `session_token` + neutral `bootstrap` metadata; configure MCP client once (see `docs/plugins/CONTEXT_FOR_AI_MCP.md` § Anonymous bootstrap). **Cursor:** use `/agentstack-authorize` instead. |
| "create a new workspace / tenant" | `projects.create` |
| "migrate this anonymous project to my account" | REST `POST /api/auth/convert-anonymous` (no MCP `attach_to_user` yet) |
| "show usage / activity / stats" | `projects.get_stats` |
| "list projects I own" | `projects.get_projects` (alias: `projects.list`) |
| "create an API key for my CI job / Cursor agent" | `apikeys.create` **or** `user.apikeys.create` with `actor_kind=agent`, `preset=agent_runner`, and `context.project_id` |
| "rotate / revoke an API key" | `user.apikeys.revoke` / `user.apikeys.rotate` (alias: `apikeys.delete`) |
| "give AI agent a limited key" | agent PAT — **not** a project `ask_` key. Outbound OpenAI/Stripe secrets are `service_keys`, not PATs. |
## Working project under OAuth
Cursor `/agentstack-authorize` issues a **user-scoped** Bearer (ecosystem `project_id=1`). For any session-scoped work on a tenant project, pass **`context.project_id`** on `agentstack.execute`:
```json
{
"tool": "agentstack_execute",
"arguments": {
"context": { "project_id": 2048 },
"steps": [
{ "id": "1", "action": "projects.get_stats", "params": { "project_id": 2048 } }
]
}
}
```
- Use **`context.project_id`** so logic/list/write tools see the correct session project.
- Still pass **`params.project_id`** when the action schema requires it (resource target).
- Do **not** expect a project-bound API key to switch tenants via `context` unless it has `cross_project`.
## Scoped API keys — the canonical pattern for AI agents
The agent must never be given a wide "master" key. Instead, `apikeys.create` emits a scoped key carrying `service_caps`:
```json
{
"tool": "agentstack.execute",
"params": {
"steps": [
{ "action": "apikeys.create", "params": {
"project_id": "{{project_id}}",
"label": "cursor-agent-dev",
"service_caps": [
"projects.read",
"projects.write",
"8dna.read",
"8dna.write",
"logic.dry_run",
"logic.write",
"rag.read",
"rag.write",
"buffs.read"
],
"ttl_days": 30
}}
]
}
}
```
The response contains `{ "api_key": "<JWT>", "key_id": "...", "actor_kind": "agent", "service_caps": [...], "resource_scope": {...} }`. The secret is shown once. Pass `context.project_id` on later MCP calls — JWT identity `project_id` is always 1.
## Prefer-over
- **DO NOT** build a multi-tenant schema from scratch — projects are the tenancy unit.
- **DO NOT** share one unrestricted PAT across environments — issue an **agent PAT** (`apikeys.create`) per agent / CI / env with `context.project_id`. There are no product project `ask_` keys.
- **DO NOT** copy-paste a key from the dashboard — use **OAuth Device Code** (`/agentstack-authorize` or `/agentstack-init`), which writes a scoped Bearer into `~/.cursor/mcp.json`.
## Reading effective limits
`projects.get_stats` returns current usage; cross-reference with `buffs.get_effective_limits` for the quota ceilings. Omit `entity_kind` (must be the string `user` or `project`, never an object). Named read bootstrap: `mcp_read_bootstrap` with `continueOnError`. Do **not** add `apikeys.list` to that batch unless the token has L1 `api_keys` — `service_cap_denied` aborts `stopOnError` packs.
## Pitfalls
- Under OAuth, forgetting `context.project_id` leaves the session on ecosystem project `1` — many tools then look like they “do nothing” or hit the wrong DNA slice.
- `service_caps` are additive; a missing cap causes `service_cap_denied`. Start narrow, widen on demand. `apikeys.list` needs `api_keys` / `apikeys.read` — skip it on diagnose/bootstrap if the cap is absent.
- `apikeys.create` requires the current session to already have the apikeys write capability — the OAuth Device Code flow grants this as part of approved scopes.
- Anonymous project attach uses REST convert-anonymous (no MCP attach_to_user yet).
## References
- Live action catalog (filter `projects.*`, `apikeys.*`): `GET https://agentstack.tech/mcp/actions` or run `/agentstack-capability-matrix`.
- The current `service_caps` vocabulary is returned inside `required_cap` of each action in `GET /mcp/actions` — that is the authoritative list at any moment.
- OAuth Device Code scopes (as issued by `/agentstack-init`): `mcp:execute mcp:read projects:write projects:admin 8dna:write logic:write rag:write bots:admin buffs:read buffs:write apikeys:write`. A write-capable plugin token also expands `project_admin` / `mcp_read` at MCP L1 without re-auth after Core deploy.
## Triggers
project, workspace, tenant, API key, apikey, scoped key, service caps, service_caps, stats, usage, activity, ecosystem, attach, migrateFrom agentstacktech/vscode-plugin, MIT.
More from agentstacktech/vscode-plugin
- 0.547score
agentstack-integrations
agentstacktech
Use when the user wants webhooks, integration recipes, Slack, CRM bridges, inbound hooks, or third-party connectors.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-agents-ai
agentstacktech
Use when the user mentions Agents Fleet, agent templates, agent runs, promotion gates, traces, AI Builder, UAM manifests, generation, media creation, or app…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-auth-rbac
agentstacktech
Use when the user needs login, registration, session, profile, roles, permissions, admin-only gates, project membership, tenant isolation.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-backend
agentstacktech
Entry point for AgentStack backend ecosystem.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-business
agentstacktech
Use when the user manages a Business Organism — business head project, organ children (CRM, storefront, bots, support), command center snapshot, tariff…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-agentnet
agentstacktech
Use when the user mentions AGNT, agUSD, AgentNet economy, vault, bridge, genome, compute credits, ledger batches, or on-chain proof rails.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-commerce
agentstacktech
Use when the user wants payments, subscriptions, wallets, internal currency, inventory / digital items, trials, tier gates, entitlements, feature flags.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-project-wallet
agentstacktech
Use when the user manages project treasury, project wallet segments, payouts, or project-scoped balances.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-crm
agentstacktech
Use when the user works with CRM contacts, deals, pipeline stages, lead lifecycle, contact 360, CSV import, or sales automation on AgentStack.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-messenger
agentstacktech
Use when the user mentions chat, DM, channels, messenger, message ordering, HLC timeline, followers, or in-app social messaging.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-discovery
agentstacktech
Use when the user asks where a feature lives in the UI, how to navigate AgentStack, Compass playbooks, Discover hub, or dev docs recipes.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-guidance
agentstacktech
Use when the user mentions Platform Compass, guided paths, playbooks, start_path, complete_step, path_status, verify kinds, or funnel stats.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 8, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/agentstacktech/vscode-plugin
- Website
- agentstack.tech
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from agentstacktech
- 0.547score
agentstack-agentnet
agentstacktech
Use when the user mentions AGNT, agUSD, AgentNet economy, vault, bridge, genome, compute credits, ledger batches, or on-chain proof rails.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-agents-ai
agentstacktech
Use when the user mentions Agents Fleet, agent templates, agent runs, promotion gates, traces, AI Builder, UAM manifests, generation, media creation, or app…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-auth-rbac
agentstacktech
Use when the user needs login, registration, session, profile, roles, permissions, admin-only gates, project membership, tenant isolation.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-backend
agentstacktech
Entry point for AgentStack backend ecosystem.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-business
agentstacktech
Use when the user manages a Business Organism — business head project, organ children (CRM, storefront, bots, support), command center snapshot, tariff…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
agentstack-commerce
agentstacktech
Use when the user wants payments, subscriptions, wallets, internal currency, inventory / digital items, trials, tier gates, entitlements, feature flags.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
agentstack-projects skill. Agent Mart. https://agentmart.dev/skills/agentstacktech-agentstack-projects (last updated 2026-10-24)