recovery-target

recovery-target is a command for Claude Code from VincentChuWaiChow/vanguard-frontier-agentic. It costs 0 tokens per session (607 once invoked), scanned A, original, Apache-2.0.

A guarded set of AWS command examples for restoring a database table from a backup. It checks the intended account, region, table, recovery method, recovery objectives, costs, and permissions before a restore plan is used.

In plain words
What is it for?
Use it when planning point-in-time recovery or another backup restore, including recovery to an approved destination. It is intended for existing AWS resources and does not cover deleted-source recovery unchanged.
Why use it?
It reduces the risk of restoring the wrong data or running an unapproved recovery operation. The examples are plans and checks, not automatic permission to change AWS resources.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the vanguard-frontier-agentic plugin — 210 skills, 13 commands, 4 plugins shipped together

Good fit Use it when planning point-in-time recovery or another backup restore, including recovery to an approved destination. It is intended for existing AWS resources and does not cover deleted-source recovery unchanged.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vincentchuwaichow/vanguard-frontier-agentic/recovery-target
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/VincentChuWaiChow/vanguard-frontier-agentic

Made for: Claude Code.

Or install vanguard-frontier-agentic, the plugin that ships this one along with the rest of its 210 skills, 13 commands, 4 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for recovery-target

README.md
[![agentmods](https://agentmods.dev/badge/commands/vincentchuwaichow/vanguard-frontier-agentic/recovery-target/github.svg)](https://agentmods.dev/commands/vincentchuwaichow/vanguard-frontier-agentic/recovery-target)
Your own site
<a href="https://agentmods.dev/commands/vincentchuwaichow/vanguard-frontier-agentic/recovery-target"><img src="https://agentmods.dev/badge/commands/vincentchuwaichow/vanguard-frontier-agentic/recovery-target/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for recovery-target

Your own site · 80×15
<a href="https://agentmods.dev/commands/vincentchuwaichow/vanguard-frontier-agentic/recovery-target"><img src="https://agentmods.dev/badge/commands/vincentchuwaichow/vanguard-frontier-agentic/recovery-target.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00607
Opus 5.5 $0.00000 $0.00243
Sonnet 5.5 $0.00000 $0.00121
Haiku 4.5 $0.00000 $0.00061

Measured 18d ago against content hash 839484eaa59e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

recovery-target scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/aws/aws-dynamodb-patterns/references/commands/recovery-target.md · 48 lines

What it actually says

Shared backup/restore target gate

Load only with backup or restore. Selector output is a plan, not permission to run these examples. Confirm approved source account/principal, Region, table, method, RPO/RTO, costs, destination and allowed actions first. Use existing IaC/role/CLI; never inspect credentials or install tooling to bypass access restrictions.

Examples are same-account, same-Region. Run from the skill directory and only the chosen method, not every block/page. All outputs are private local metadata. This gate verifies source identity before table discovery; it changes no AWS setting. Use the source's plain table name for TABLE_NAME in these examples; its full ARN is read from DescribeTable for backup identity checks. This setup assumes an existing source; do not use it unchanged for deleted-source recovery. The restore command describes the separately reviewed SYSTEM/backup-ARN path using preserved source identity instead of live DescribeTable.

set -euo pipefail
: "${AWS_PROFILE:?Approved profile}" "${AWS_REGION:?Approved Region}" \
  "${TABLE_NAME:?Approved source table}" "${EXPECTED_ACCOUNT_ID:?Approved account}" \
  "${EXPECTED_PRINCIPAL_ARN:?Approved full caller ARN}"
umask 077
recovery_dir=$(mktemp -d)
aws_target=(aws --profile "$AWS_PROFILE" --region "$AWS_REGION" --no-cli-pager --no-cli-auto-prompt --output json)
"${aws_target[@]}" sts get-caller-identity > "$recovery_dir/identity.json"
python3 - "$recovery_dir/identity.json" "$EXPECTED_ACCOUNT_ID" "$EXPECTED_PRINCIPAL_ARN" <<'PY'
import json
import sys
identity = json.load(open(sys.argv[1]))
if identity["Account"] != sys.argv[2] or identity["Arn"] != sys.argv[3]:
    raise SystemExit("Identity mismatch; stop before source discovery")
PY
"${aws_target[@]}" dynamodb describe-table --table-name "$TABLE_NAME" > "$recovery_dir/source-table.json"

Review source ARN/status, encryption/indexes, restore dependencies and quotas. Named-backup checks must match the observed source TableArn, not just its friendly name. Cross-account/Region, AWS Backup vaults/immutability or global-table recovery need their own reviewed design/permissions; do not infer support from this example. KMS key/grant access must survive backup retention and the entire restore; old backups may depend on older keys. Do not disable/delete a key as backup cleanup.

PITR, on-demand backup and replication are different protections. A replica can copy bad writes/deletes; PITR is not automatic failover. An available backup is not a tested restore. Record business RPO (acceptable data loss) and end-to-end RTO (including detection, decision, restore, validation and routing), then rehearse with separately authorized nonproduction targets.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago First seen · 48 lines · 0 tokens per session scan A 839484eaa59e

Subscribe to this mod's changes

recovery-target is a command published in the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic (26 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 607 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-12.

Related

recovery-target compared with commands from other repositories

recovery-target next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
recovery-targetVincentChuWaiChow/vanguard-frontier-agenticCommand26todayApache-2.0A0Claude Code
cloudflare-d1:setupsecondsky/claude-skillsCommand2578d agoMITA50Claude Code
scaffold-railway-fullAshikparvez89/larouex-fullstack-pluginCommand31mo agoMITA0Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code
analyzegithub/spec-kitCommand153k3d agoMITA26Claude Code
specifygithub/spec-kitCommand153k3d agoMITA13Claude Code