/aws-startups-solution-architecture:hcls-stack-checkfrom AWS Startups Solution Architecture
Reads an AWS account's resource inventory and reports HIPAA eligibility (per AWS's published list) and EU region residency for each resource. Use for HCLS readiness, ghost instances, or data residency questions.
Ships in AWS Startups Solution Architecture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Produce a factual HCLS readiness snapshot of an AWS account's inventory. For each resource discovered in the account's resource inventory (via AWS Resource Explorer, or a local export), report:
This is a factual membership + region check only. It is NOT a compliance assessment and NOT legal advice. It reports list membership and region facts, never a "HIPAA-compliant" or "GDPR-ready" verdict.
Why one skill, not two: the HIPAA and EU checks share the same trigger vocabulary ("HCLS readiness", "check my stack"), the same input (one topology), and the same output (one table). They are one readiness question asked two ways, so they are consolidated per the >70%-shared-trigger rule rather than split.
Use when a startup SA references an account's resource inventory, HIPAA eligibility, EU data residency, or healthcare/life-sciences readiness. For example: "which resources run on non-HIPAA-eligible services?", "is everything in my account in the EU?", "any ghost instances not deployed via IaC?".
This is an assessment-support skill. It surfaces published facts (list membership, region) to inform a human's judgment; it does not make eligibility, compliance, or legal determinations. A qualified human must interpret the report. Every generated report carries the verbatim AWS HIPAA disclaimer and the not-a-compliance boundary statement, and both MUST be shown to the user.
The skill base directory is given in the "Base directory for this skill: X" line
the harness emits at load time. Call it <SKILL_BASE>. The Python lives under:
$SCRIPTS = <SKILL_BASE>/scriptsRun it with uv so the pinned dependencies (boto3>=1.43, which ships the
Resource Explorer ListResources paginator) are present. Do not run a bare
python src/main.py: there is no src/, and a relative path is resolved
against the user's working directory, not the skill:
uv run --project "$SCRIPTS" python "$SCRIPTS/main.py" [--topology <live|path>] \
[--assume-role-arn <arn> [--external-id <id>]]
If uv is missing, tell the user to install it
(https://docs.astral.sh/uv/getting-started/installation/, e.g. brew install uv)
and stop.
The skill reads these external sources at runtime. All access is read-only.
| Reference | Purpose | Access |
|---|---|---|
AWS HIPAA Eligible Services Reference (https://aws.amazon.com/compliance/hipaa-eligible-services-reference/) | Source of truth for eligibility | HTTPS GET, host-validated, live every run |
AWS Resource Explorer (resource-explorer-2: ListResources, GetIndex) | Enumerate resources (CFN + out-of-IaC) | Read-only API |
AWS SSM global-infrastructure public parameters (ssm:GetParametersByPath) | Which regions a service offers | Read-only, public params |
AWS STS (sts:AssumeRole, optional) | Assume a user-named role for the pull | Read-only, opt-in via --assume-role-arn |
Why not the DevOps Agent account role: that role trusts only
aidevops.amazonaws.com and carries confused-deputy conditions, so a plain
sts:AssumeRole with user credentials fails, and making it work would mean
loosening that trust policy. Instead, the live pull enumerates resources via
Resource Explorer under the caller's own credentials (default chain or
AWS_PROFILE), or a role the user explicitly names with --assume-role-arn.
Risk tier L2 rationale (OWASP AST04): the skill may perform a cross-account
sts:AssumeRole into a role the user names (never the agent role). Everything
downstream is strictly read-only (no writes, no mutations), and no credentials
are hardcoded (default chain, AWS_PROFILE, or the opt-in role). Because it can
assume a user-provided role, it is L2, not L1.
These invariants are implemented in the deterministic core (scripts/) and
stated here so the behavior is auditable. Follow them; do not re-implement them
by hand.
.json export. If the source is unreachable or misconfigured, stop with an
actionable error. Never emit a partial inventory that could read as
"all clear." Resource enumeration uses ListResources (paginated), never
Search (which silently caps at 1,000 results).HCLS_SNAPSHOT_FILE) is labelled dev-override, not
live.Amazon or AWS
prefix; index parenthesized short codes). Verdicts: yes / yes-with-caveat
/ not-on-list / unmapped. A resource whose service code cannot be resolved
to a known AWS name is shown as unknown with an unmapped verdict, never
dropped, and never a false not-on-list.yes / no / global / unknown; a global or
empty-region resource reads global/unknown, never a misleading no. A
live SSM lookup reports whether the service even offers an EU region. (Note:
eu-west-2 London and eu-central-2 Zurich are NOT EU regions.)Run the deterministic core; it wires source, ingest, HIPAA snapshot, preflight, per-resource checks, and report in one pass.
uv run --project "$SCRIPTS" python "$SCRIPTS/main.py" [--topology <live|path>] [--assume-role-arn <arn>] (default: live)--topology (a local .json export path, or live); optional --assume-role-arn / --external-id{resource_id, service, region} plus active discovery paths and the inventory's account id--topology <path>." Do not proceed with a
partial stack.uv run --project "$SCRIPTS" python "$SCRIPTS/main.py" (same run)HCLS_SNAPSHOT_FILE{name, caveat} servicesuv run --project "$SCRIPTS" python "$SCRIPTS/main.py" (same run)A single markdown report, in this order:
live, fetched <ts> or dev-override, service count)resource_id | service | hipaa_eligible | region | eu
(hipaa_eligible is yes, yes* (<caveat>), not on list, or unmapped;
eu is yes / no / global / unknown, optionally annotated with
whether the service offers an EU region)Display the report verbatim. The orchestrator MUST surface the report text as produced and MUST NOT summarize, re-rank, or re-interpret it, because paraphrasing a factual eligibility/region report can reintroduce exactly the compliance-verdict framing this skill forbids.
yes-with-caveat, unmapped, EU
global/unknown, coverage INFO). They carry real information a binary
would destroy.--topology <path>.--assume-role-arn) or the account scope is ambiguous,
confirm scope if the enumerated inventory looks unexpectedly large or empty.AWS_PROFILE if set, or
an opt-in user-named role via --assume-role-arn. Nothing is hardcoded. All
downstream use is read-only.HCLS_SNAPSHOT_FILE
is validated through the same gate and labelled dev-override. No data ships
in the repo.--topology scripts/fixtures/sample_topology.json
renders a report with a HIPAA verdict and EU value for every resolvable
resource, disclaimer and boundary present. Expected: exit 0.yes* (<caveat>), not a bare yes.unknown (<raw>) with an unmapped verdict,
not a dropped row or a false not on list.TopologySourceError, an actionable message, and a non-zero exit, with no
partial report emitted.scripts/fixtures/hipaa_page_too_small.html) stops the run with a validation
error rather than reporting against a partial list.pytest.ini (opens in a new tab)scripts/fixtures/hipaa_page_sample.html (opens in a new tab)scripts/fixtures/hipaa_page_too_small.html (opens in a new tab)scripts/fixtures/sample_topology.json (opens in a new tab)scripts/hipaa_check.py (opens in a new tab)scripts/hipaa_source.py (opens in a new tab)scripts/main.py (opens in a new tab)scripts/preflight.py (opens in a new tab)scripts/pyproject.toml (opens in a new tab)scripts/region_lookup.py (opens in a new tab)scripts/report.py (opens in a new tab)scripts/test_hipaa_check.py (opens in a new tab)scripts/test_hipaa_source.py (opens in a new tab)scripts/test_main.py (opens in a new tab)scripts/test_preflight.py (opens in a new tab)scripts/test_region_lookup.py (opens in a new tab)scripts/test_topology_ingest.py (opens in a new tab)scripts/test_topology_source.py (opens in a new tab)scripts/topology_ingest.py (opens in a new tab)scripts/topology_source.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub awslabs/startups --plugin aws-startups-solution-architecture5 skills in this plugin
/agentcore-patternsThis skill should be used when an automated agent's output is published under its own identity and carries weight in someone else's work, such as a reviewer whose verdict lands on a pull request, and the open question is how much authority it has actually earned. Covers which conclusions such an agent may state as settled and which it must hand to a person, why a verdict that moves between runs on unchanged input cannot be allowed to decide anything, handing an uncertain item to a human rather than discarding it, grounding each claim in something computed rather than recalled, and the published-state and recall behaviour that decides whether people keep reading the output or learn to skim it. It should also be used when such an agent is being ignored, contradicts itself between runs, or reports a state that nothing current supports. Not for measuring or improving an agent's own output quality, which belongs to aws-agents:agents-optimize, nor for building, deploying, or hardening an agent./cost-regression-checkThis skill should be used when a company that pays its AWS bill from a fixed monthly ceiling, often funded by credits, asks what a pull request or other infrastructure-as-code change (Terraform, AWS CDK, or AWS CloudFormation) will add to that bill before apply, or wants that cost on every pull request, including through Infracost or another estimator in CI. It reports two numbers at list price before credits: the fixed monthly floor added at zero traffic, and the change in cost per unit of the team's own usage, against absolute thresholds derived from the ceiling and kept in the repository. It sets up a CI job and a repository-owned script so the author and the bill owner decide on each pull request. Not for spend that already happened (aws-core:aws-billing-and-cost-management), price lookups with no change under review, advice on infrastructure code as it stands, general release risk, or choosing services that avoid a floor./multi-tenant-isolationThis skill should be used when designing or fixing tenant isolation for a multi-tenant SaaS on AWS, where a team with no dedicated security engineer must make a cross-tenant leak structurally impossible rather than a code-review responsibility. Covers choosing a silo, pool, or bridge model per layer rather than per application, enforcing isolation in IAM session policies and the database so a forgotten predicate fails closed, partitioning data across DynamoDB, Postgres, and S3, containing noisy neighbors, and attributing cost per tenant in a pooled fleet. It should also be used when hardening an existing pooled deployment against cross-tenant access, or when one large customer demands dedicated infrastructure mid-deal. Not for single-tenant architecture or general IAM policy authoring, which belong to the aws-core skills upstream./self-hosted-llm-batch-inferenceThis skill should be used when a startup without a dedicated ML platform team needs recurring, latency-tolerant offline inference for a self-hosted 1B to 8B generative language model on AWS while minimizing GPU spend and recovering automatically from Spot interruption. It prescribes AWS Batch backed by Amazon ECS Managed Instances Spot, with model artifacts staged in Amazon S3, deterministic input shards, vLLM offline inference on one GPU, bounded retries, and output reconciliation before success. Covers sizing from the real prompt and model footprint, choosing networking without an avoidable idle cost floor, and verifying that results are complete and GPU capacity is gone. Not for online endpoints, training, embeddings, other inference engines, multi-GPU or distributed inference, or one-off experiments where manual rerun is acceptable.Other plugins' skills for the same job