create-config-scraper
Generate Mission Control ScrapeConfig YAML from natural language. Use when users ask to build a scraper, create a config scraper, or want YAML to scrape Kubernetes/AWS/GCP/Azure/SQL/HTTP/File/Exec/Logs/Slack/GitHub Actions/Trivy/Terraform sources.
What this skill does
# Config Scraper YAML Skill
## Goal
Turn a user request into a valid ScrapeConfig YAML that can be applied in Mission Control.
## How to Use
1. Identify the scraper type(s) the user needs (kubernetes, exec, http, file, sql, logs, aws, gcp, azure, githubActions, slack, trivy, terraform).
2. Ask only the minimum clarifying questions required to produce correct YAML (cluster/region, credentials source, namespace, schedule, filters, and output mapping).
3. Produce a single ScrapeConfig YAML in a fenced code block. Keep it minimal and runnable.
4. If the user mentions secrets, always use secret references (do not inline sensitive values).
5. If a request cannot be expressed in a scraper type, explain the limitation and provide the closest working YAML (often via exec).
## Inputs Checklist
- Target system and scraper type
- Credentials source (secret name + key, or connection name)
- Schedule (optional; omit if not specified)
## Output Rules
- Output YAML only, in a single code block.
- Use `apiVersion: configs.flanksource.com/v1` and `kind: ScrapeConfig`.
- Set `metadata.name` to a short, unique slug.
## Canonical Snippets
### Kubernetes RBAC
RBAC extraction is automatic when these resources are watched — no transform needed:
```yaml
apiVersion: configs.flanksource.com/v1
kind: ScrapeConfig
metadata:
name: k8s-rbac
spec:
kubernetes:
- clusterName: my-cluster
watch:
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
- apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
- apiVersion: v1
kind: ServiceAccount
```
### Kubernetes Audit Logs (Loki)
```yaml
apiVersion: configs.flanksource.com/v1
kind: ScrapeConfig
metadata:
name: k8s-audit-logs
spec:
logs:
- name: k8s-audit
type: KubernetesAudit
loki:
url: http://loki.monitoring:3100
query: '{job="kube-audit"}'
fieldMapping:
id: ["responseStatus.metadata.uid"]
message: ["responseStatus.message"]
timestamp: ["stageTimestamp", "requestReceivedTimestamp"]
severity: ["responseStatus.code"]
```
### AWS CloudTrail
```yaml
apiVersion: configs.flanksource.com/v1
kind: ScrapeConfig
metadata:
name: aws-cloudtrail
spec:
aws:
- connection: connection://aws/credentials
region:
- us-east-1
cloudtrail:
maxAge: 7d
exclude:
- AssumeRole
- DecodeAuthorizationMessage
```
### GCP Audit Logs
```yaml
apiVersion: configs.flanksource.com/v1
kind: ScrapeConfig
metadata:
name: gcp-audit
spec:
gcp:
- project: my-project
connection: connection://gcp/credentials
auditLogs:
dataset: my-project.audit_dataset.cloudaudit_googleapis_com_activity
since: 30d
serviceNames:
- compute.googleapis.com
- iam.googleapis.com
principalEmails:
- "@my-org.com"
```
### MSSQL Permissions (full: true)
See `@skills/create-config-scraper/references/access-logs.md` for the complete MSSQL example showing `external_users`, `external_roles`, and `config_access` extraction via CEL transforms.
```yaml
apiVersion: configs.flanksource.com/v1
kind: ScrapeConfig
metadata:
name: mssql-scraper
spec:
full: true
sql:
- type: MSSQL::Logon
connection: connection://mssql/credentials
id: $.id
name: $.name
transform:
expr: |
# CEL transform emitting config, external_users, external_roles, config_access
# See access-logs.md reference for the full transform expression
```
## Reference
# Scraper Schema Map (Bundled)
Use the bundled per-scraper schemas below. Only open the schema for the requested scraper type(s).
- Kubernetes: `@skills/create-config-scraper/references/schemas/config_kubernetes.schema.json`
- Kubernetes file: `@skills/create-config-scraper/references/schemas/config_kubernetesfile.schema.json`
- Exec: `@skills/create-config-scraper/references/schemas/config_exec.schema.json`
- HTTP: `@skills/create-config-scraper/references/schemas/config_http.schema.json`
- File: `@skills/create-config-scraper/references/schemas/config_file.schema.json`
- SQL: `@skills/create-config-scraper/references/schemas/config_sql.schema.json`
- Logs: `@skills/create-config-scraper/references/schemas/config_logs.schema.json`
- AWS: `@skills/create-config-scraper/references/schemas/config_aws.schema.json`
- GCP: `@skills/create-config-scraper/references/schemas/config_gcp.schema.json`
- Azure: `@skills/create-config-scraper/references/schemas/config_azure.schema.json`
- Azure DevOps: `@skills/create-config-scraper/references/schemas/config_azuredevops.schema.json`
- GitHub Actions: `@skills/create-config-scraper/references/schemas/config_githubactions.schema.json`
- Slack: `@skills/create-config-scraper/references/schemas/config_slack.schema.json`
- Trivy: `@skills/create-config-scraper/references/schemas/config_trivy.schema.json`
- Terraform: `@skills/create-config-scraper/references/schemas/config_terraform.schema.json`
# Additional References
- Access Logs & RBAC: `@skills/create-config-scraper/references/access-logs.md`
- Config DB documentation: https://flanksource.com/docs/guide/config-db/llms.txt
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.