Deployment Inventory Resolver

VerifiedCaution

Resolve a deployment ID into artifacts and build the evidence graph for attestation.

Sby Skills Guide Bot
SecurityIntermediate
8/29/2026
Claude Code
#deployment-attestation#supply-chain#artifact-inventory#provenance#evidence-graph

Recommended for

Automated summary

This skill turns a deployment_id into a manifest of content-addressed artifacts — commit, image digest, runtime identity, gateway and guardrail, downstream services — that serves as the join key for every other attestation skill.

Strengths

  • Forces resolution by commit SHA and registry digest rather than branch or tag, so the attested artifact is the one actually running
  • Emits an explicit JSON output contract with missing, orphans and a PASS/PARTIAL/FAIL verdict that downstream skills can consume directly
  • Cleanly separates 'artifact not configured' from 'artifact could not be read', two findings that are often conflated
  • Cross-links every artifact (repo, image, identity, traffic, downstreams) and reports orphans instead of dropping them

Limitations

  • Assumes the runtime, gateway and identity description APIs or CLIs are reachable from the execution environment; no fallback path is described
  • Provides procedure and output schema only — no concrete commands or scripts, so extraction is left to the agent
  • Evaluates no security controls itself: it is pure inventory, and a PARTIAL manifest caps every derived attestation
When to use it

Run it first whenever a deployment_id must be tied to its repo, image, identity, gateway and downstreams before any control is evaluated.

When not to use it

Don't use it to audit a single IAM role, SPIFFE entry or gateway policy in isolation, or when no stable deployment identifier exists.

Security analysis

Caution
Quality score88/100

The skill is a legitimate inventory resolver for attestation workflows. It does not instruct destructive actions, exfiltration, or obfuscation, but it does use Bash and accesses cloud identity/traffic metadata, which is sensitive. This warrants caution rather than safe.

Findings
  • •Uses Bash and likely network/API calls to resolve cloud metadata (IAM roles, SPIFFE IDs, workload identities, gateway ARNs), which may expose sensitive deployment information if output is mishandled.
  • •No explicit destructive or exfiltrating commands, but the skill relies on Bash for arbitrary system inspection, which carries risk if the agent is compromised or misused.
How this analysis is made

Examples

Full inventory for a deployment
Resolve deployment_id dep-4471 into its full artifact manifest — repo commit, image digest, IAM role, SPIFFE ID, gateway ARN, guardrail ID and downstream services — and tell me what's missing.
Verify the deployed image
For deployment dep-4471, confirm that the image digest I have (sha256:9f2c…) is the one actually deployed and not just the newest build in the registry.
Re-resolve after drift
Re-run the deployment inventory for dep-4471 and diff it against the manifest I captured last week so I can see what drifted.

name: deployment-inventory-resolver description: >- Resolve a deployment_id into the artifacts that make up one agentic deployment and build the evidence graph every other attestation skill consumes. Use first, before any control is evaluated, or when asked which repo, image, role, workload identity, gateway or guardrail a deployment actually consists of. allowed-tools: Bash, Read, Grep, Glob

Deployment Inventory Resolver

Controls: All — this skill produces the join key

Why this runs first

deployment_id is the primary key for every other skill in this set. Without it, an IAM finding, a SPIFFE entry and a gateway policy are three unrelated facts about three things that may or may not be the same system.

This skill turns that ID into a manifest of content-addressed artifacts, so every later finding resolves to one evaluable unit and cannot be silently confused with a neighbouring deployment.

Procedure

  1. Resolve the code. Repository URL plus the exact commit SHA that was built. Not a branch — a branch moves.
  2. Resolve the image. Registry digest (sha256:…), not a tag. Confirm the digest matches the revision actually deployed, not the newest build.
  3. Resolve the runtime identity. The IAM role ARN, the SPIFFE ID, and — on platforms that auto-create one — the workload identity ARN exposed by the runtime/gateway description API.
  4. Resolve the traffic path. Gateway or route ARN, and the guardrail ID attached to it.
  5. Resolve the downstreams. Every service the deployment's tools call. These become the input to the risk-registry skill.
  6. Cross-link and check completeness. Every artifact must reference the others. Report orphans rather than omitting them.

Output contract

{
  "deployment_id": "str",
  "resolved_at": "str",
  "artifacts": {
    "repo": {"url": "str", "commit": "str"},
    "image": {"registry": "str", "digest": "str", "matches_deployed": true},
    "identity": {"role_arn": "str", "spiffe_id": "str", "workload_identity_arn": "str"},
    "traffic": {"gateway_arn": "str", "guardrail_id": "str"},
    "downstreams": ["str"]
  },
  "missing": ["str"],
  "orphans": ["str"],
  "verdict": "PASS|PARTIAL|FAIL"
}

A manifest with entries in missing is PARTIAL at best. Every downstream skill inherits that ceiling — you cannot attest a control on an artifact you could not resolve.

Failure modes

  • Resolving a tag instead of a digest. Tags are mutable; the thing you attested is not necessarily the thing running.
  • Treating an unresolvable artifact as absent. "No gateway configured" and "I could not read the gateway API" are different findings.
  • Reusing a manifest across runs. Re-resolve. Drift is the point.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/deployment-inventory-resolver-mte1li98/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/deployment-inventory-resolver-mte1li98' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/deployment-inventory-resolver-mte1li98/download' --output '.skill-downloads/deployment-inventory-resolver-mte1li98/SKILL.md.part' && mv '.skill-downloads/deployment-inventory-resolver-mte1li98/SKILL.md.part' '.skill-downloads/deployment-inventory-resolver-mte1li98/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash, Read, Grep, Glob

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/deployment-inventory-resolver-mte1li98/SKILL.md' && test -s '.skill-downloads/deployment-inventory-resolver-mte1li98/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/deployment-inventory-resolver' && cp -R '.skill-downloads/deployment-inventory-resolver-mte1li98' '.claude/skills/deployment-inventory-resolver'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/deployment-inventory-resolver-mte1li98'

openskills read 'deployment-inventory-resolver-mte1li98'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/deployment-inventory-resolver-mte1li98/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills