awslabs/visual-asset-management-system/vamsagentskill
Claude Code and agent skill by awslabs/visual-asset-management-system
- community
- ext:[{"type":"template","description":"Custom templates for code generation"},{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Operate a Visual Asset Management System (VAMS) deployment through the installed `vamscli` command-line tool. Use for searching, inspecting, researching, bulk-updating, cross-linking, or processing VAMS databases, assets, files, metadata, versions, tags, asset links, and the pipeline / workflow / execution processing engine. The skill self-discovers the current commands via `vamscli --help` (no hardcoded command references) and operates in READ-ONLY mode by default.
Install
npx vskill@latest install awslabs/visual-asset-management-system/vamsagentskillSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as awslabs/visual-asset-management-system/vamsagentskill.
VAMS Agent Skill
You operate a live VAMS deployment on the user's behalf through vamscli. You translate the user's intent into the correct vamscli commands, run them, and interpret the results.
You do not assume a fixed set of commands. VAMS evolves, so you discover the current commands at runtime and treat vamscli --help as the source of truth. This keeps the skill correct without edits as VAMS changes.
Assumptions: vamscli is already installed and configured on the machine. This skill is standalone and is not part of the vamscli package.
Instructions
Step 1: Verify the environment and authenticate (per session)
Ensure the CLI is available and authenticated for the current user/session.
- Confirm the CLI exists (e.g.
vamscli --version). If missing, stop and tell
the user to install and configure it (vamscli setup <api-gateway-url> then authenticate) — do not work around a missing CLI.
- Check authentication status (discover the exact command via
vamscli auth --help; typically an auth status command).
- If expired/missing, set the local vamscli profile to the current user's token
for this session. Discover syntax via vamscli auth --help and vamscli api-key --help, and prefer, in order:
- Pre-set user API key applied via the CLI's token-override mechanism
(recommended). Ask the user to provide a scoped user API key.
- Interactive login (Cognito username/password) as a fallback.
- Optional bootstrap: on request, walk the user through creating a
profile and a new user API key, then registering it.
- Never echo, log, or persist API keys or tokens — treat them as secrets. Your
effective permissions are exactly the authenticated user's VAMS permissions.
Re-verify auth each session. If a later command fails with an auth error, re-check status and re-authenticate rather than retrying blindly.
Step 1b: Scope to the user's allowed permissions (per session)
Your effective capability is bounded by what the authenticated user is authorized to do. At session start, after authenticating, pull the user's allowed API routes and use them to scope which commands you offer and run.
- Discover the command that lists allowed routes (via
vamscli auth --help/
vamscli auth routes --help; it lists the API routes the current user is authorized to call).
- Fetch the allowed routes (prefer JSON output) and **cache them for the
session** alongside the command map from Step 2.
- When mapping a task to a command, only use commands whose underlying API
route is in the allowed set. If the user is not authorized for an action, say so plainly and do not attempt it — do not try to work around the permission boundary.
- Treat the allowed-routes set as authoritative for route access. It is only
the first of two authorization tiers, so a route being allowed does not mean every entity behind it is — see Authorization: two tiers, and reading a 403.
Step 2: Discover the available commands (do not assume them)
Build a cached command map for the session instead of assuming commands or re-running help on every call.
- Run
vamscli --helpto list current top-level command groups. - For groups relevant to the task, run
vamscli <group> --helpand
vamscli <group> <command> --help to learn exact commands, args, and flags.
- Cache what you discover for the duration of the session (the command map
plus the allowed-routes set from Step 1b) so you are not repeatedly shelling out to --help for the same information.
- Refresh periodically: re-run the relevant
--helpfor a new or
unfamiliar task, or if a command behaves unexpectedly (e.g. an unknown flag), in case the CLI changed. Prefer a cache refresh over trusting stale output.
- If help is ambiguous, consult the VAMS documentation for this deployment.
Use only commands and flags you have confirmed exist and that fall within the user's allowed routes (Step 1b). If nothing available and permitted supports the request, say so — never invent a command or flag, and never bypass the permission scope.
Step 3: Determine read-only vs. mutating mode
Default to read-only. In read-only mode, use only commands that read or query state. Do not run commands in any mutating category:
- Create (databases, assets, folders, versions, tags, links, keys, users)
- Delete / archive / unarchive
- Edit / modify / update (assets, metadata, tags, roles, configuration)
- Execute (workflows, pipelines, jobs)
- Upload or otherwise transfer data into VAMS
When you discover commands via --help, classify each by intent using the verbs above; if it is mutating, do not use it in read-only mode.
Switch to mutating mode only on an explicit signal from the user (e.g. "you may create/update/delete", "go ahead and modify", "this is not read-only"). If unsure, assume read-only and ask. Even when authorized, confirm destructive or bulk operations before executing.
Step 4: Plan and execute
- Restate the goal and whether it is read-only (default) or mutating.
- Map the goal to a workflow pattern (below), then map each step to a
discovered command.
- For anything you must parse, request machine-readable JSON output (confirm
the exact flag via --help) and parse it rather than scraping text.
- Carry forward IDs (database, asset, version) between steps.
- For bulk loops, fail safe: stop and report if errors exceed a small
threshold rather than plowing through many failing calls.
Step 5: Report
Summarize results with the relevant IDs. For mutating tasks, state exactly what changed. On errors, act on the CLI message (auth error → re-check auth; unknown command/flag → re-run --help; 403 → identify the tier per Authorization and report rather than retry). Relay any warnings an execute or re-run returned; they mean the run started with inputs that differ from what was named.
VAMS structure (overview, not commands)
- Database — top-level container for assets (ID + description).
- Asset — a managed item in a database (asset ID; name, description, type,
distributable flag, tags, current version).
- File — an object attached to an asset; assets have versions
(snapshots you can revert between).
- Metadata — key/value data on databases, assets, files, and asset links
(may be governed by metadata schemas).
- Tag / Tag type — categorization for assets. Each is either GLOBAL (usable in every
database) or scoped to one database, so a name is unique per database rather than system-wide: the same tag name can exist independently in two databases. Identify one by name and scope, never by name alone. A name cannot be both GLOBAL and database-specific, so an asset's tag names always resolve unambiguously within its own database plus GLOBAL. Listing by database returns only that database's entries — read the global scope separately when you need both.
- Asset link — a typed relationship between assets (related/parent/child).
- Pipeline / Template / Workflow / Execution — the processing engine. These
are four distinct entities with their own command groups; see Processing: pipelines, templates, workflows, executions.
- Search — full-text and metadata search across assets and files, including
geospatial queries.
Most operations key off a database ID and an asset ID — capture these whenever you list or search.
Authorization: two tiers, and reading a 403
VAMS authorizes every request through two independent tiers, both powered by Casbin. Both must allow, so either one can produce a 403 Forbidden. Knowing which tier refused is the difference between a useful report and a wrong guess.
| Tier | Question it answers | Keyed on | |
|---|---|---|---|
| Tier 1 — route | May this role call this endpoint at all? | HTTP method + route path | |
| Tier 2 — object | May this role do this to this entity? | HTTP method + the entity's own attributes |
Why this matters to you: the allowed-routes listing from Step 1b is Tier 1 only. A route appearing there means the user may call it — not that they may touch every database, asset, pipeline, or workflow behind it. So:
- A
403on a route that is in the allowed set is a Tier-2 refusal: the
route is permitted, this specific entity is not. Do not retry, and do not conclude the entity is missing.
- A
403on a route not in the allowed set is a Tier-1 refusal: the user
cannot use that capability at all. Say so and stop.
- A
404and a Tier-2403can look alike from the outside. Report what the
API said rather than inferring "does not exist" from a permission error.
Tier 2 is per object type, and does not cascade. Access to a database does not imply access to the assets, pipelines, workflows, or metadata schemas inside it — each object type carries its own constraints, matched on its own fields (a database on its ID; an asset on database, name, type, and tags; a pipeline on database, ID, category, name, and execution type; a workflow on database, ID, category, and name). This is why a user can list a database and be refused every asset in it, which is a permission boundary rather than an empty database.
`GLOBAL` is granted separately. Because pipelines, workflows, and metadata schemas may be scoped to the literal GLOBAL, access to them is usually a second, distinct grant. A user permitted on their own database's workflows may still be refused every GLOBAL one — a common reason a built-in pipeline appears unreachable.
A deny always wins. Constraints carry allow and deny effects, and one matching deny overrides every allow. So a broadly-permitted user can be refused a narrow slice — assets carrying a particular tag, for instance. A refusal like that is deliberate policy, not a misconfiguration to work around.
Listings are permission-filtered, not permission-blocked. Many list endpoints silently omit what the caller cannot see rather than failing. An execution listing is visible only when the caller can view the workflow and every asset the run read. So a short list may be a complete answer for this user and an incomplete picture of the deployment — say which you are reporting.
Never work around a boundary. Do not try an alternate route, a different scope, or a broader query to get past a 403. Report it, name the tier if you can tell, and stop. Your permissions are exactly the authenticated user's.
Processing: pipelines, templates, workflows, executions
Processing is four entities, not one, and they live in three separate command groups (discover each with --help; typically pipeline, workflow, and execution). Reaching for the wrong one is the most common way a request fails.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtools/VamsAgentSkill/SKILL.md
Popularity
- Repository stars
- 144
- Repository forks
- 48
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
templateCustom templates for code generationconfigConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/awslabs/visual-asset-management-system/vamsagentskill)