AI agent skills automate complex workflows in Version Guard, enabling any AI agent (Claude Code, Goose, Amp, etc.) to autonomously perform tasks like adding new cloud resource types, managing EOL configurations, and more.
AI skills are structured instruction sets that teach AI agents how to perform specific tasks autonomously. They follow the conventions established by Anthropic's Agent Skills and adopted by Amp / Claude Code / Goose:
- YAML Frontmatter: Metadata (name, description, version, status)
- Tool Allowlist: Explicit list of permitted operations
- Markdown Instructions: Clear, step-by-step guidance for the AI
- Agent-Agnostic Design: Works across platforms (Claude Code, Goose, Amp)
Benefits:
- Automation: Complex multi-step workflows executed autonomously
- Consistency: Standardized processes reduce human error
- Knowledge Sharing: Codified expertise available to all team members
- Time Savings: Hours of manual work reduced to minutes
- Platform Agnostic: Same skill works across different AI agents
Use Cases:
- Adding new cloud resource types to Version Guard
- Generating EOL configuration from endoflife.date API
- Auto-detecting Wiz CSV schemas
- Running tests and creating properly formatted commits
Status: Beta (v1.0.0)
Location: skills/add-version-guard-resource/
Supports: Claude Code, Goose, Amp, any Agent Skills-compliant platform
Purpose: Autonomously add new cloud resource types to Version Guard by querying EOL data, detecting Wiz schemas, and generating configuration.
What it does:
- ✅ Validates product has EOL data on endoflife.date
- 📝 Gathers required inputs (resource ID, Wiz report ID, display name)
- 🔍 Auto-detects Wiz CSV schema from existing test fixtures
- ⚙️ Checks if EOL adapter customization is needed
- 📄 Generates
pkg/config/defaults/resources.yamlentry - 🧪 Runs tests to verify configuration works
- 📦 Creates properly formatted git commit
Prerequisites:
- Version Guard generic infrastructure implemented (Phase 1)
- Tools: curl, git, go, make
- Wiz credentials not required (uses example fixtures)
Documentation:
Skills are automatically discovered from the skills/ directory when working in the Version Guard OSS repository.
Setup:
# Clone the Version Guard OSS repository
git clone https://github.com/block/Version-Guard.git
cd Version-Guard
# Verify skill is present
ls skills/add-version-guard-resource/SKILL.md
# Skills are auto-discovered - no additional setup neededVerification: In a Claude Code conversation:
Do we have a skill for adding resources to Version Guard?
Claude should respond mentioning the add-version-guard-resource skill.
Configure Goose to discover skills from the Version Guard repository.
Setup:
# From Version Guard OSS repo root
cd ~/Version-Guard
# Goose will discover skills from the skills/ directory
# Consult Goose documentation for skill configurationUsage:
# In Goose session, skills are auto-discovered from the project
goose "Add OpenSearch to Version Guard"Amp auto-discovers skills from the project's skills/ directory and surfaces
them in the system prompt for each thread opened in this repo.
Setup:
# Clone and navigate to Version Guard
git clone https://github.com/block/Version-Guard.git
cd Version-Guard
# Verify the skill exists
ls skills/add-version-guard-resource/SKILL.md
# (Optional) inspect what Amp sees / install additional skills
amp skill list
amp skill info add-version-guard-resourceVerification:
# List available skills
amp skills listShould show add-version-guard-resource in the output.
Any AI agent that supports the Agent Skills standard can use Version Guard skills.
Generic Setup:
- Clone the Version Guard repository
- Consult your AI platform's documentation for skill discovery
- Skills may auto-discover from
skills/or require copying to a specific directory
Common Patterns:
# Auto-discovery (most platforms)
cd Version-Guard
# Skills discovered from skills/ directory
# Manual installation (if required)
cp -r skills/add-version-guard-resource ~/.config/your-agent/skills/The skill produces YAML that conforms to the schema in
pkg/config/types.go — the real fields are
id / type / cloud_provider / inventory.{source, native_type_pattern, required_mappings, field_mappings} / transforms / eol.{provider, product, schema, lifecycle}. Wiz report IDs are not in the YAML; they live in the
WIZ_REPORT_IDS JSON env var, keyed by the resource id. Reshaping
inventory columns (extracting from JSON, stripping prefixes, normalizing
engine names) is declared in the transforms block — see
TRANSFORMS.md.
Reference outputs the skill produces for each canonical shape live alongside it under skills/add-version-guard-resource/examples/.
Request: Use the add-version-guard-resource skill to add OpenSearch support
The skill validates EOL coverage on amazon-opensearch and elasticsearch,
auto-detects the Wiz versionDetails.version column shape (OpenSearch_2.13,
Elasticsearch_7.10), and generates a resource block that strips the prefix
and derives the engine from the major version. The final YAML matches what
ships in pkg/config/defaults/resources.yaml
under id: opensearch.
Time saved: ~30–45 minutes → ~2–3 minutes.
Request: Add Aurora PostgreSQL to Version Guard
Aurora's typeFields.kind column says AuroraPostgreSQL, but
endoflife.date keys cycles by aurora-postgresql. The skill emits a
substring_lookup transform to canonicalize the engine — no Go-side EOL
adapter required, because the standard endoflife.date schema already covers
the lifecycle shape. See
skills/add-version-guard-resource/examples/aurora-pg.yaml.
Time saved: ~30–60 minutes → ~2–3 minutes.
Request: Enable EKS detection in Version Guard
EKS reports have no engine column (the engine is implicitly eks) and use a
non-standard endoflife.date lifecycle that splits standard vs. extended
support. The skill produces a default_if_empty engine transform plus an
eol.schema: declarative block with a YAML lifecycle mapping the
upstream eol and extendedSupport fields onto Version Guard's
deprecation / extended-support windows. See
skills/add-version-guard-resource/examples/eks.yaml.
Time saved: ~45–60 minutes → ~2–3 minutes.
Want to create your own Version Guard skill? Here's how:
mkdir -p skills/your-skill-name/examples
mkdir -p skills/your-skill-name/referencesRequired structure (matches the
add-version-guard-resource skill):
---
name: your-skill-name
description: Brief description of what the skill does
roles: []
metadata:
version: "1.0.0"
status: beta
user-invocable: true
disable-model-invocation: false
allowed-tools:
- Read
- Write
- Edit
- Bash(command_pattern:*)
- WebFetch
---
# Your Skill Name
## Overview
[What this skill does]
## Prerequisites
[What's required before using the skill]
## Workflow
### Step 1: [First step]
[Detailed instructions for AI]
### Step 2: [Second step]
[More instructions]
...
## Success Criteria
[How to verify the skill completed successfully]README.md: User-facing overview
# Your Skill Name
Quick reference for users. Keep it concise.SETUP.md: Installation and prerequisites
# Setup Guide
Prerequisites, installation steps, verification.examples/: Example configurations or outputs
examples/
example1.yaml
example2.yaml
references/: Detailed documentation
references/
troubleshooting.md
detailed-examples.md
# Verify YAML frontmatter is valid
head -20 skills/your-skill-name/SKILL.md
# Test with Claude Code
claude "Use the your-skill-name skill to [task]"
# Test with Goose (consult Goose documentation for skill setup)
goose "Use the your-skill-name skill to [task]"Only include tools the skill actually needs:
tool_allowlist:
- Read # Reading files
- Write # Creating new files
- Edit # Modifying existing files
- Glob(pattern:*.yaml) # Finding YAML files
- Grep(pattern:*) # Searching code
- Bash(go test:*) # Running tests
- Bash(git add:*) # Git operations
- Bash(curl:*) # API calls
- WebFetch(domain:api.example.com) # Web requestsDon't use wildcards - be specific about what's allowed.
Symptom: AI agent doesn't recognize the skill
Diagnostic:
# Verify skill exists
ls skills/add-version-guard-resource/SKILL.md
# Check YAML frontmatter
head -20 skills/add-version-guard-resource/SKILL.mdSolutions:
- Ensure you're in the Version Guard OSS repository directory
- Verify
SKILL.mdhas valid YAML frontmatter (lines 1-10) - Check that frontmatter starts with
---and ends with--- - Restart your AI agent session
- For Claude Code: Skill auto-discovery happens when you're in the repo
Symptom: Skill fails with "infrastructure missing" errors
Diagnostic:
cd ~/Version-Guard
# Check infrastructure
test -f pkg/config/defaults/resources.yaml && echo "✅ Config exists" || echo "❌ Missing"
test -f pkg/config/loader.go && echo "✅ Loader exists" || echo "❌ Missing"
test -f pkg/inventory/wiz/generic.go && echo "✅ Generic Wiz inventory exists" || echo "❌ Missing"
test -f pkg/workflow/detection/activities.go && echo "✅ Detection activities exist" || echo "❌ Missing"Solutions:
- Make sure you're on a clean checkout of
mainso the generic infrastructure (config loader, generic Wiz inventory source, detection workflow) is present. - Skills cannot work without that foundation — see ARCHITECTURE.md for the component layout.
Symptom: Skill fails with "command not found" errors
Diagnostic:
# Check required tools
which curl && echo "✅ curl" || echo "❌ curl missing"
which git && echo "✅ git" || echo "❌ git missing"
which go && echo "✅ go" || echo "❌ go missing"
which make && echo "✅ make" || echo "❌ make missing"Solutions:
# macOS
brew install curl git go
xcode-select --install # For make
# Linux (Ubuntu/Debian)
sudo apt-get install curl git golang makeSymptom: Skill completes but tests fail
Diagnostic:
# Run tests manually
go test ./pkg/config/ -v
go test ./pkg/inventory/wiz/ -v
go test ./pkg/workflow/detection/ -vCommon Issues:
-
Wiz report ID incorrect or missing
- Wiz report IDs live in the
WIZ_REPORT_IDSJSON env var (or.envfor docker-compose), keyed by the resourceid. They are not inresources.yaml. - Confirm the report exists in Wiz and your credentials can access it.
- Wiz report IDs live in the
-
EOL product mismatch
- Confirm
eol.productexists on endoflife.date. - If the product has non-standard lifecycle semantics, switch
eol.schematodeclarativeand supply aneol.lifecycleblock (see pkg/eol/endoflife/ADAPTERS.md).
- Confirm
-
Wrong inventory column mapping
- Cross-check against an existing fixture under
pkg/inventory/wiz/testdata/to confirm Wiz column names. - Adjust
inventory.required_mappings/inventory.field_mappings, or add atransformsblock (see TRANSFORMS.md) if the raw column needs reshaping.
- Cross-check against an existing fixture under
Solution: Review the generated configuration and adjust as needed.
We welcome contributions of new skills and improvements to existing ones!
-
Create the skill following the Skill Development guide
-
Test thoroughly:
# Test with at least 2 different AI platforms claude "Use your-skill-name to [task]" goose run your-skill-name
-
Document comprehensively:
- README.md (user overview)
- SETUP.md (installation)
- SKILL.md (AI instructions)
- examples/ (working examples)
- references/ (detailed docs)
-
Open a pull request:
git checkout -b add-skill-your-skill-name git add skills/your-skill-name/ git commit -m "Add your-skill-name AI skill - Purpose: [What it does] - Automates: [Workflow steps] - Tested with: Claude Code, Goose " git push origin add-skill-your-skill-name
-
Update this file (SKILLS.md):
- Add your skill to the "Available Skills" section
- Include description, prerequisites, documentation links
-
Test the change:
# Make your changes vim skills/add-version-guard-resource/SKILL.md # Test with AI agent claude "Use add-version-guard-resource to add a test resource"
-
Document what changed:
git commit -m "Improve add-version-guard-resource skill - Enhanced: [What you improved] - Reason: [Why this is better] - Tested: [How you verified it works] "
-
Open a pull request with clear description of improvements
Quality Standards:
- Skills must be agent-agnostic (no platform-specific code)
- Include comprehensive documentation
- Provide working examples
- Test with at least 2 AI platforms
- Follow Agent Skills standard (YAML frontmatter, tool allowlist)
What Makes a Good Skill:
- Clear workflow - Step-by-step instructions
- Defensive checks - Validate prerequisites before starting
- Error handling - Guide AI on what to do when things fail
- Progressive disclosure - Use examples/ to keep core instructions concise
- Explicit tool allowlist - Only permit necessary operations
Version Guard Documentation:
Skill Documentation:
External Resources:
- Anthropic — Equipping agents for the real world with Agent Skills
- endoflife.date API
- Version Guard Issues
For Skill Issues:
- Create an issue: Version Guard Issues
- Include: AI platform used, skill name, error messages, steps to reproduce
For Version Guard Issues:
- See CONTRIBUTING.md
- Check existing issues first
For endoflife.date Coverage:
- Request new products: endoflife.date repository