Cloudflare GraphQL Analytics for zone traffic, firewall events, Workers metrics, and schema exploration. Use when querying Cloudflare analytics data or exploring the GraphQL API.
日本語の概要は準備中です。原文の説明を表示しています。
Use when working with Dependabot — dependabot and Renovate dependency update management. Covers vulnerability alerts, dependency update PRs, auto-merge configuration, version pinning, update scheduling, and security advisory tracking. Use when managing dependency updates, reviewing vulnerability alerts, configuring auto-merge policies, or auditing dependency health.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Manage and analyze dependency updates, vulnerability alerts, and auto-merge configurations.
Always check current configuration and alert status before modifying update policies.
#!/bin/bash
echo "=== Dependabot Configuration ==="
cat .github/dependabot.yml 2>/dev/null || cat .github/dependabot.yaml 2>/dev/null || echo "No Dependabot config found"
echo ""
echo "=== Renovate Configuration ==="
cat renovate.json 2>/dev/null || cat .renovaterc 2>/dev/null || cat .renovaterc.json 2>/dev/null || echo "No Renovate config found"
echo ""
echo "=== Dependency Files Detected ==="
find . -maxdepth 3 \( \
-name "package.json" -o -name "package-lock.json" -o \
-name "requirements.txt" -o -name "Pipfile" -o \
-name "go.mod" -o -name "Gemfile" -o \
-name "pom.xml" -o -name "build.gradle" -o \
-name "Cargo.toml" -o -name "composer.json" \
\) -not -path "*/node_modules/*" 2>/dev/null | head -15
echo ""
echo "=== Open Dependency PRs ==="
gh pr list --label dependencies 2>/dev/null | head -10 || \
gh pr list --search "author:dependabot" 2>/dev/null | head -10
#!/bin/bash
# GitHub API for Dependabot
gh_dependabot() {
local endpoint="$1"
gh api "$endpoint" 2>/dev/null
}
# List vulnerability alerts
gh_alerts() {
local repo="${1:?Repo required (owner/name)}"
gh api "repos/${repo}/dependabot/alerts?state=open&sort=created&direction=desc" 2>/dev/null
}
# Renovate API (self-hosted)
renovate_api() {
local endpoint="$1"
curl -s -H "Authorization: Bearer $RENOVATE_TOKEN" \
"${RENOVATE_URL}/api/${endpoint}" 2>/dev/null
}
#!/bin/bash
REPO="${1:?Repository required (owner/name)}"
echo "=== Open Vulnerability Alerts ==="
gh api "repos/${REPO}/dependabot/alerts?state=open&sort=created&direction=desc&per_page=30" 2>/dev/null | jq '{
total_open: length,
by_severity: (group_by(.security_advisory.severity) | map({
severity: .[0].security_advisory.severity,
count: length
})),
by_ecosystem: (group_by(.dependency.package.ecosystem) | map({
ecosystem: .[0].dependency.package.ecosystem,
count: length
})),
top_alerts: [.[:10][] | {
number: .number,
severity: .security_advisory.severity,
package: .dependency.package.name,
ecosystem: .dependency.package.ecosystem,
vulnerable_range: .security_vulnerability.vulnerable_version_range,
fixed_version: .security_vulnerability.first_patched_version.identifier,
summary: .security_advisory.summary
}]
}'
#!/bin/bash
REPO="${1:?Repository required (owner/name)}"
echo "=== Open Dependency PRs ==="
gh pr list --repo "$REPO" --search "author:dependabot OR author:renovate" --json number,title,createdAt,labels --limit 20 2>/dev/null | jq '[.[] | {
number: .number,
title: .title,
created: .createdAt,
labels: [.labels[].name]
}]'
echo ""
echo "=== PR Age Distribution ==="
gh pr list --repo "$REPO" --search "author:dependabot OR author:renovate" --json number,title,createdAt --limit 50 2>/dev/null | jq '
[.[] | {
number: .number,
title: .title[:50],
age_days: ((now - (.createdAt | fromdateiso8601)) / 86400 | floor)
}] | sort_by(-.age_days) | .[0:10]
'
#!/bin/bash
echo "=== Dependabot Auto-Merge Config ==="
cat .github/dependabot.yml 2>/dev/null | head -30
echo ""
echo "=== GitHub Actions Auto-Merge Workflow ==="
cat .github/workflows/dependabot-auto-merge.yml 2>/dev/null || \
cat .github/workflows/auto-merge.yml 2>/dev/null || \
echo "No auto-merge workflow found"
echo ""
echo "=== Renovate Auto-Merge Config ==="
cat renovate.json 2>/dev/null | jq '{
automerge: .automerge,
automergeType: .automergeType,
packageRules: [.packageRules[]? | select(.automerge != null) | {
matchPackagePatterns: .matchPackagePatterns,
matchUpdateTypes: .matchUpdateTypes,
automerge: .automerge
}]
}' 2>/dev/null
#!/bin/bash
REPO="${1:?Repository required (owner/name)}"
echo "=== Critical/High Alerts Requiring Action ==="
gh api "repos/${REPO}/dependabot/alerts?state=open&severity=critical,high&per_page=20" 2>/dev/null | jq '[.[] | {
number: .number,
package: .dependency.package.name,
severity: .security_advisory.severity,
cvss: .security_advisory.cvss.score,
cve: .security_advisory.cve_id,
fix_available: (.security_vulnerability.first_patched_version != null),
fix_version: .security_vulnerability.first_patched_version.identifier,
manifest: .dependency.manifest_path
}]'
echo ""
echo "=== Alert Dismissal History ==="
gh api "repos/${REPO}/dependabot/alerts?state=dismissed&per_page=10" 2>/dev/null | jq '[.[] | {
package: .dependency.package.name,
severity: .security_advisory.severity,
dismissed_reason: .dismissed_reason,
dismissed_by: .dismissed_by.login
}]'
#!/bin/bash
echo "=== Dependency File Analysis ==="
for dep_file in $(find . -maxdepth 3 \( -name "package.json" -o -name "requirements.txt" -o -name "go.mod" -o -name "Gemfile" \) -not -path "*/node_modules/*" 2>/dev/null | head -5); do
echo "--- $dep_file ---"
case "$dep_file" in
*/package.json) jq '.dependencies // {} | length' "$dep_file" 2>/dev/null | xargs -I{} echo " Dependencies: {}" ;;
*/requirements.txt) wc -l < "$dep_file" 2>/dev/null | xargs -I{} echo " Packages: {}" ;;
*/go.mod) grep -c 'require' "$dep_file" 2>/dev/null | xargs -I{} echo " Modules: {}" ;;
*/Gemfile) grep -c 'gem ' "$dep_file" 2>/dev/null | xargs -I{} echo " Gems: {}" ;;
esac
done
echo ""
echo "=== Update Schedule ==="
cat .github/dependabot.yml 2>/dev/null | grep -A2 'schedule' | head -10
Present results as a structured report:
Analyzing Dependabot Report
═══════════════════════════
Resources discovered: [count]
Resource Status Key Metric Issues
──────────────────────────────────────────────
[name] [ok/warn] [value] [findings]
Summary: [total] resources | [ok] healthy | [warn] warnings | [crit] critical
Action Items: [list of prioritized findings]
Target ≤50 lines of output. Use tables for multi-resource comparisons.
--help output.| Shortcut | Counter | Why |
|---|---|---|
| "I'll skip discovery and check known resources" | Always run Phase 1 discovery first | Resource names change, new resources appear — assumed names cause errors |
| "The user only asked for a quick check" | Follow the full discovery → analysis flow | Quick checks miss critical issues; structured analysis catches silent failures |
| "Default configuration is probably fine" | Audit configuration explicitly | Defaults often leave logging, security, and optimization features disabled |
| "Metrics aren't needed for this" | Always check relevant metrics when available | API/CLI responses show current state; metrics reveal trends and intermittent issues |
| "I don't have access to that" | Try the command and report the actual error | Assumed permission failures prevent useful investigation; actual errors are informative |
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Cloudflare GraphQL Analytics for zone traffic, firewall events, Workers metrics, and schema exploration. Use when querying Cloudflare analytics data or exploring the GraphQL API.
日本語の概要は準備中です。原文の説明を表示しています。
Use when working with Alloydb — google AlloyDB instance analysis, query insights, columnar engine optimization, maintenance windows, and cluster health.
日本語の概要は準備中です。原文の説明を表示しています。
Use when working with Aqua — aqua Security platform analysis. Covers container runtime protection, image assurance policies, compliance frameworks, vulnerability management, workload protection, and registry scanning. Use when analyzing container security posture, reviewing image compliance, investigating runtime alerts, or auditing security policies.
日本語の概要は準備中です。原文の説明を表示しています。
Use when working with Bigquery — google BigQuery job analysis, slot utilization, cost analysis, dataset management, and query optimization.
日本語の概要は準備中です。原文の説明を表示しています。
Use when working with Cassandra — apache Cassandra keyspace analysis, compaction strategies, repair status, nodetool operations, and cluster health monitoring.
日本語の概要は準備中です。原文の説明を表示しています。
Use when working with Checkov — checkov infrastructure-as-code security scanning. Covers Terraform, CloudFormation, Kubernetes, and Dockerfile scanning, policy management, custom checks, compliance frameworks, and suppression management. Use when scanning IaC for security misconfigurations, evaluating compliance, managing custom policies, or reviewing scan results.
日本語の概要は準備中です。原文の説明を表示しています。