Connect a new data source to AnomalyArmor. Handles "connect my database", "add snowflake", "setup postgres", "connect warehouse".
Ships in armor. 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.
None: SKILL.md is the whole skill.
Guide users through connecting a new data source (database, warehouse) to AnomalyArmor.
~/.armor/config.yaml or ARMOR_API_KEY env var)pip install anomalyarmor)snowflake - Snowflake Data Cloudpostgresql - PostgreSQLdatabricks - Databricksbigquery - Google BigQueryredshift - Amazon Redshiftmysql - MySQLclickhouse - ClickHouseclient.assets.create()client.assets.test_connection()client.assets.trigger_discovery()client.jobs.status()from anomalyarmor import Client
import time
client = Client()
# Create the asset
asset = client.assets.create(
name="Analytics Warehouse",
source_type="snowflake",
connection_config={
"account": "abc123.us-east-1",
"warehouse": "COMPUTE_WH",
"database": "ANALYTICS",
"user": "anomalyarmor_user",
"password": "your_password", # Or use key pair auth
"role": "ANOMALYARMOR_ROLE" # Optional
},
description="Main analytics data warehouse"
)
print(f"Created asset: {asset.id}")
# Test connection
result = client.assets.test_connection(asset.id)
if result.success:
print("Connection successful!")
else:
print(f"Connection failed: {result.error_message}")
exit(1)
# Trigger schema discovery
job = client.assets.trigger_discovery(asset.id)
print(f"Discovery started: {job.job_id}")
# Wait for discovery to complete
while True:
status = client.jobs.status(job.job_id)
print(f"Discovery progress: {status.get('progress', 0)}%")
if status.get('status') in ('completed', 'failed'):
break
time.sleep(5)
if status.get('status') == 'completed':
print("Schema discovery complete!")
else:
print(f"Discovery failed: {status.get('error')}")
from anomalyarmor import Client
client = Client()
asset = client.assets.create(
name="Production Database",
source_type="postgresql",
connection_config={
"host": "db.example.com",
"port": 5432,
"database": "production",
"user": "readonly_user",
"password": "your_password",
"sslmode": "require"
}
)
# Test and discover...
from anomalyarmor import Client
client = Client()
asset = client.assets.create(
name="Databricks Lakehouse",
source_type="databricks",
connection_config={
"host": "adb-1234567890.1.azuredatabricks.net",
"http_path": "/sql/1.0/warehouses/abc123",
"access_token": "dapi..."
}
)
{
"account": "abc123.us-east-1",
"warehouse": "COMPUTE_WH",
"database": "ANALYTICS",
"user": "user",
"password": "password",
"role": "ROLE_NAME" # optional
}
{
"host": "hostname",
"port": 5432,
"database": "dbname",
"user": "user",
"password": "password",
"sslmode": "require" # optional
}
{
"project_id": "my-project",
"credentials_json": "{...}" # Service account JSON
}
After connecting, use:
/armor:monitor to set up freshness and schema monitoring/armor:analyze to generate AI intelligence/armor:status to verify healthWhat SKILL.md sets; muted values are Claude Code's defaults
Bashpython ${CLAUDE_PLUGIN_ROOT}/scripts/ensure-auth.pyOther plugins' skills for the same job
14 skills in this plugin
/armor-alertsQuery and manage alerts. Handles "what alerts fired", "show alerts", "yesterday's alerts", "unresolved alerts", "critical alerts"./armor-analyzeTrigger AI analysis for your data assets. Handles "analyze my database", "generate intelligence", "refresh analysis", "update AI knowledge"./armor-askAsk natural language questions about your data. Handles "what tables contain", "tell me about", "explain", "what do you know about", "describe"./armor-coverageAnalyze monitoring coverage, tiers, and gaps. Handles what am I monitoring, what tier am I at, coverage gaps, monitoring status, unmonitored tables, how do I improve coverage./armor-investigateInvestigate data issues using lineage, intelligence, and history. Handles "why is this table stale", "what changed", "explain this alert", "root cause analysis", "debug this issue"./armor-lineageExplore data lineage and dependencies. Handles "what depends on this table", "where does this data come from", "impact analysis", "upstream dependencies", "downstream consumers"./armor:armor-connectfrom armor
npx claudepluginhub anomalyarmor/agents --plugin armor