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.
npx skills add rudderlabs/rudder-agent-skills --skill rudder-profiles-debuggit clone --depth 1 https://github.com/rudderlabs/rudder-agent-skillsWrote 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.
[](https://agentmods.dev/skills/rudderlabs/rudder-agent-skills/rudder-profiles-debug)<a href="https://agentmods.dev/skills/rudderlabs/rudder-agent-skills/rudder-profiles-debug"><img src="https://agentmods.dev/badge/skills/rudderlabs/rudder-agent-skills/rudder-profiles-debug/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.
<a href="https://agentmods.dev/skills/rudderlabs/rudder-agent-skills/rudder-profiles-debug"><img src="https://agentmods.dev/badge/skills/rudderlabs/rudder-agent-skills/rudder-profiles-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.01766 |
| Opus 5 | $0.00025 | $0.00883 |
| Sonnet 5 | $0.00010 | $0.00353 |
| Haiku 4.5 | $0.00005 | $0.00177 |
Grade A, and why
rudder-profiles-debug 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RudderStack Profiles Debugging
Debug Profiles errors with a structured loop: classify, fix, validate, and stop before thrashing.
Workflow
- Classify the error — Match the error output against the classification table below.
- Apply the smallest plausible fix — One change, then re-validate.
- Re-run
pb compile(for compile errors) or the precise recovery command (for run failures). - Escalate progressively — If the first fix doesn't work:
- 2nd attempt: consult
search_profiles_docs()for relevant documentation. - 3rd attempt: read documentation examples and reference files.
- 4th attempt: STOP — present all findings to the user and ask for guidance.
- 2nd attempt: consult
- Never attempt more than 4 fix cycles without user input.
Error Classification
| Error Pattern | Category | First Action |
|---|---|---|
unmarshal, field not found, parser line/col |
YAML Structure | Check references/common-yaml-mistakes.md; inspect the referenced YAML section |
id type X not found |
Cross-File Reference | Verify id_type names match between pb_project.yaml and models/ files |
model X not found |
Model Dependency | Run pb show models; check from: paths and model names |
invalid identifier, column not found |
SQL/Warehouse | Call describe_table() to verify the column exists |
does not match time regex |
CLI Usage | Use ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ |
schema_version not supported |
Version Mismatch | Run pb version; align schema_version with the binary, or pb migrate auto --inplace |
warehouse not initialized / no connection from run_query() |
MCP Precondition | Call initialize_warehouse_connection(<connection_name>) once before any run_query() — a hard requirement documented in the MCP tool |
baseline not found, checkpoint not found, material X (seq_no Y) not found on an incremental run |
Incremental State | references/incremental-debugging.md § Checkpoint & Baseline — distinguish mid-run crash (--seq_no N) from state drift (--rebase_incremental) |
Incremental run completes but values are subtly wrong; a merge: var uses a window function |
Silent Incremental Corruption | references/incremental-debugging.md § Window Functions — the most likely cause is an unsupported window function under merge: |
nil-pointer / segfault during compile/run, DeRef in the trace |
DeRef Crash | references/incremental-debugging.md § DeRef Crashes — usually a bad pre_existing=true with no baseline |
rpc error, ModuleNotFoundError |
Python/RPC | STOP — surface the exact error to the user immediately |
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 106 lines · 50 tokens per session scan A 22a09c1adbb1
rudder-profiles-debug is a skill published in the GitHub repository rudderlabs/rudder-agent-skills (18 stars, last pushed 6d ago), licensed MIT. It adds 50 tokens to every session and 1,766 once invoked, about $0.0003 per session on Opus 5. 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-08-30.
Other skills, from other repositories
spark-engineer
Use when writing Spark jobs, debugging performance issues, or configuring cluster settings for Apache Spark applications, distributed data processing pipelines, or big data workloads. Invoke to write DataFrame transformations, optimize Spark SQL queries, implement RDD pipelines, tune shuffle operations, configure…
pgvector-semantic-search
Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…
postgres-hybrid-text-search
Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). Trigger when user asks to: Combine keyword and semantic search Implement hybrid search or multi-modal retrieval Use BM25/pgtextsearch with pgvector together Implement RRF (Reciprocal…
chief-data-officer
Owns data as an asset — governance, quality, the warehouse and semantic layer, analytics capability, and the governance of models built on top. Use this for a decision about how data is collected, stored, defined, or shared; when numbers disagree between teams; when deciding what to build in-house versus buy; when…
ai-workflow-architect
Designs AI systems, automations, and agent workflows for a business — identifying which manual work is worth automating, how to structure the system, which tools fit, and what could go wrong. Use this to automate part of an operation, design an agent or MCP workflow, reduce repetitive manual work, connect tools into a…
ai-ml-governance
Governs models and AI systems in production — intended use, evaluation, monitoring, human oversight, documentation, and the decision to deploy or retire. Use this before deploying a model or AI feature, when defining evaluation criteria, when a model's behavior has drifted, when assessing AI risk or regulatory…