Prowler is an open-source cloud security platform that checks cloud environments for security issues and compliance with standards such as CIS, NIST, and GDPR. Security teams use it to assess configurations, prioritize findings, produce reports, and guide remediation.
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 prowler-cloud/prowler --skill postgresql-indexinggit clone --depth 1 https://github.com/prowler-cloud/prowlerWrote 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/prowler-cloud/prowler/postgresql-indexing)<a href="https://agentmods.dev/skills/prowler-cloud/prowler/postgresql-indexing"><img src="https://agentmods.dev/badge/skills/prowler-cloud/prowler/postgresql-indexing/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/prowler-cloud/prowler/postgresql-indexing"><img src="https://agentmods.dev/badge/skills/prowler-cloud/prowler/postgresql-indexing.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.00108 | $0.03486 |
| Opus 5.5 | $0.00043 | $0.01394 |
| Sonnet 5.5 | $0.00022 | $0.00697 |
| Haiku 4.5 | $0.00011 | $0.00349 |
Grade A, and why
postgresql-indexing 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 1mo 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 — 393 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to use
- Creating or modifying PostgreSQL indexes
- Analyzing query plans with
EXPLAIN - Debugging slow queries or missing index usage
- Dropping, reindexing, or validating indexes
- Working with indexes on partitioned tables (findings, resource_finding_mappings)
- Running VACUUM or ANALYZE after index changes
Index design
Partial indexes: constant columns go in WHERE, not in the key
When a column has a fixed value for the query (e.g., state = 'completed'), put it in the WHERE clause of the index, not in the indexed columns. Otherwise the planner cannot exploit the ordering of the other columns.
-- Bad: state in the key wastes space and breaks ordering
CREATE INDEX idx_scans_tenant_state ON scans (tenant_id, state, inserted_at DESC);
-- Good: state as a filter, planner uses tenant_id + inserted_at ordering
CREATE INDEX idx_scans_tenant_ins_completed ON scans (tenant_id, inserted_at DESC)
WHERE state = 'completed';
Column order matters
Put high-selectivity columns first (columns that filter out the most rows). For composite indexes, the leftmost column must appear in the query's WHERE clause for the index to be used.
Validating index effectiveness
Always EXPLAIN (ANALYZE, BUFFERS) after adding indexes
Never assume an index is being used. Run EXPLAIN (ANALYZE, BUFFERS) to confirm.
EXPLAIN (ANALYZE, BUFFERS)
SELECT *
FROM users
WHERE email = '[email protected]';
RLS changes the plan
Tenant tables have RLS policies (api/rls.py) that add tenant_id = current_setting('api.tenant_id')::uuid
to every query run as the API user, and return nothing when the setting is missing. Analyze plans the way the
API runs them:
-- As the RLS-constrained API user (not the admin/owner role, which bypasses RLS)
BEGIN;
SELECT set_config('api.tenant_id', '95383b24-da01-44b5-a713-0d9920d554db', true);
EXPLAIN (ANALYZE, BUFFERS) SELECT ... FROM findings WHERE ...;
ROLLBACK;
To see the SQL the ORM generates, print str(queryset.query) or use queryset.explain(analyze=True) inside
rls_transaction(tenant_id). This is why most Prowler indexes start with tenant_id.
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.
- 1mo ago Changed · -1 lines f8ddfa94b6c3
- 3mo ago First seen · 394 lines · 108 tokens per session scan A c3d4813593bf
postgresql-indexing is a skill published in the GitHub repository prowler-cloud/prowler (15,392 stars, last pushed today), licensed Apache-2.0. It adds 108 tokens to every session and 3,486 once invoked, about $0.0004 per session on Opus 5.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.
postgresql-indexing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| postgresql-indexingprowler-cloud/prowler | Skill | 15k | today | Apache-2.0 | A | 108 | Claude Code |
| database-rds-devopsaws/tools-for-devops-agent | Skill | 159 | today | Apache-2.0 | A | 75 | Claude Code, Codex |
| database-migration-service-expertiseaws/tools-for-devops-agent | Skill | 159 | today | Apache-2.0 | A | 99 | Claude Code, Codex |
| cis-aws-database-3.11CyberStrikeus/CyberStrike | Skill | 4.0k | today | AGPL-3.0 | A | 17 | Claude Code, Codex |
| crm-production-investigation-guidelinesaws/tools-for-devops-agent | Skill | 159 | today | Apache-2.0 | A | 62 | Claude Code, Codex |
| write-error-divergencePlamenTSV/plamen | Skill | 321 | 2mo ago | MIT | A | 32 | Claude Code, Codex |
| triage-issuesgoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 164 | Claude Code, Codex |