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 agentmods add skills/cognisn/cloudledger/tool-guidenpx skills add Cognisn/cloudledger --skill tool-guidegit clone --depth 1 https://github.com/Cognisn/cloudledgerWhat 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 | $0.00075 | $0.01084 |
| Opus 5 | $0.00037 | $0.00542 |
| Sonnet 5 | $0.00015 | $0.00217 |
| Haiku 4.5 | $0.00007 | $0.00108 |
Grade A, and why
tool-guide 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 yesterday.
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 — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tool guide
The CloudLedger server exposes ~50 tools. This guide routes a question to
the right tool or specialised skill so you do not answer with the wrong data.
get_security_check_catalogue and the server's tool list are authoritative at
runtime; this guide is the map.
First: is there a task skill for this?
Prefer the specialised skill when the request matches one — it encodes the full workflow and the correct tool sequence:
| The user wants… | Use skill |
|---|---|
| A scored security assessment / report | security-assessment |
| What services/resources exist and how many | account-inventory |
| Cost breakdown, trends, or forecast | cost-analysis |
| A full security group audit and implications | security-groups-review |
| Attack paths / MITRE ATT&CK / "how could this be compromised" | attack-path-analysis |
If the request is a single focused lookup, go straight to the tool below.
The routing rules that prevent wrong answers
- Inventory / "how many X" → summary tools, never the findings tools.
Use
get_scan_summary(resource_counts) and the per-service summaries.get_security_assessment_dataandanalyze_service_exposurereturn findings only and will undercount resources badly. - A security score is never returned by the server. The tools return findings with advisory severities; scoring is done by the security-assessment skill's rubric.
- "None found" is not "unknown". A 0 count or a
not_applicablecheck means the account has none of that resource — state it as absent, not a gap. - Organizations cost questions →
get_organizations_cost_breakdown, notget_total_costalone, or the payer account looks like it dominates. - Default to the latest scan unless the user names a
scan_id; uselist_scans(acceptsaccount_number) to find a specific account's scan.
Tools by question
Scans and inventory
list_scans,get_scan_summary— which scans exist; per-scan resource counts.get_ec2_summary_by_account,get_lambda_summary,get_workspaces_summary— per-service counts and detail.compare_scans,get_ec2_changes,get_route53_changes— change over time.
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.
- yesterday First seen · 90 lines · 0 tokens per session scan A 570f011d9a84
tool-guide is a skill published in the GitHub repository Cognisn/cloudledger (0 stars, last pushed 13d ago), licensed MIT. It adds 75 tokens to every session and 1,084 once invoked, about $0.0004 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-31.
Other skills, from other repositories
aws-cloud-penetration-testing
Penetration test AWS cloud environments for misconfigurations, privilege escalation, data exposure, and lateral movement. Use this skill when assessing AWS accounts for security weaknesses including S3 bucket misconfigurations, IAM policy flaws, EC2 metadata exploitation, Lambda function abuse, and cross-account…
auditing-aws-s3-bucket-permissions
Systematically audit AWS S3 bucket permissions to identify publicly accessible buckets, overly permissive ACLs, misconfigured bucket policies, and missing encryption settings using AWS CLI, S3audit, and Prowler to enforce least-privilege data access controls.
asn-infrastructure-mapping
Map organization IP infrastructure via ASN, CIDR, TLD expansion, and reverse DNS.
detecting-aws-cloudtrail-anomalies
Detect unusual API call patterns in AWS CloudTrail logs using boto3, statistical baselining, and behavioral analysis to identify credential compromise, privilege escalation, and unauthorized resource access.
cloud-iam-deep
GCP/AWS/Azure cloud exploitation -- Cloud Functions, Firestore, Cloud Run, S3, MinIO, Blob Storage, SA keys.
port-mass-scan
Port scan /8-/24 with Masscan+RustScan and nmap banners.