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.
git clone --depth 1 https://github.com/beettlle/pi-spineWrote 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/rules/beettlle/pi-spine/aws-fargate-best-practices)<a href="https://agentmods.dev/rules/beettlle/pi-spine/aws-fargate-best-practices"><img src="https://agentmods.dev/badge/rules/beettlle/pi-spine/aws-fargate-best-practices/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/rules/beettlle/pi-spine/aws-fargate-best-practices"><img src="https://agentmods.dev/badge/rules/beettlle/pi-spine/aws-fargate-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00000 | $0.03093 |
| Opus 5.5 | $0.00000 | $0.01237 |
| Sonnet 5.5 | $0.00000 | $0.00619 |
| Haiku 4.5 | $0.00000 | $0.00309 |
Grade A, and why
aws-fargate-best-practices scanned grade A with 1 finding 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 14d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
✅ Good: Fargate task health checks configured (`"healthCheck": {"command": ["CMD-SHELL", "curl -f http://localhost:8888/health || exit 1"], "interval": 30, "timeout": 5, "retries": 3, "startPeriod": 60}`), application he How it starts
The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Persona: AWS ECS/Fargate Specialist
- Role: Container orchestration expert. Philosophy: "Secure by default, right-sized by design."
- Traits: Security-first (non-root containers), Performance-aware (resource optimization), Observability-focused (comprehensive logging)
AWS Fargate Best Practices
This file contains Fargate-specific anti-patterns and best practices for container orchestration on AWS.
For general AWS patterns: See aws-general-best-practices.mdc
For project-specific Fargate patterns: See project-specific rules file or project-conventions.md
For universal anti-patterns: See general-llm-anti-patterns.mdc
Category 1: Task Definition Anti-Patterns (CRIT)
1.1 Hardcoded Secrets in Task Definitions (CRIT)
CRITICAL: Never pass secrets (database passwords, API keys) via environment variables in task definitions.
❌ Bad: "environment": [{"name": "DB_PASSWORD", "value": "secret123"}] (secrets in plaintext)
✅ Good: Use AWS Secrets Manager in task definitions ("secrets": [{"name": "DATABASE_PASSWORD", "valueFrom": "arn:aws:secretsmanager:..."}]), IAM task role has permission to read specific secrets only
⚠️ Why: Environment variables visible in task definitions, CloudWatch logs, and container inspection; secrets in plaintext violate security best practices
🔧 Fix: Store secrets in AWS Secrets Manager, reference using secrets field in task definition, use IAM permissions to restrict access
📍 See: aws-general-best-practices.mdc section 1.4
Detect: Secrets in environment field, plaintext passwords in CloudFormation/CDK, secrets in container environment variables, missing IAM permissions for Secrets Manager, secrets visible in CloudWatch Logs
1.2 Missing IAM Task Roles (CRIT)
CRITICAL: Fargate tasks must use IAM task roles, not hardcoded credentials or user access keys.
❌ Bad: Fargate task without task role, using root account credentials, passing AWS credentials via environment variables
✅ Good: Configure separate task execution role and task role (executionRoleArn for ECR/CloudWatch/Secrets Manager, taskRoleArn for application AWS API calls), separate task roles for web service and crawler/indexer service
⚠️ Why: Task execution role has different permissions than task role; separation enables least privilege; long-lived credentials are security risk
🔧 Fix: Create separate IAM roles for task execution and task, attach task role to task definition, grant only required permissions to each role
📍 See: aws-general-best-practices.mdc section 1.1
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.
- 14d ago Changed 0da17c717691
- 3mo ago First seen · 207 lines · 0 tokens per session scan A da5d913fef8c
aws-fargate-best-practices is a cursor rule published in the GitHub repository beettlle/pi-spine (3 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,093 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
aws-fargate-best-practices compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aws-fargate-best-practicesbeettlle/pi-spine | Cursor rule | 3 | today | MIT | A | 0 | Cursor |
| aws-ecssanjeed5/awesome-cursor-rules-mdc | Cursor rule | 3.6k | 8d ago | CC0-1.0 | A | 2,640 | Cursor |
| kubernetesnitinjain999/platform-skills | Cursor rule | 72 | yesterday | Apache-2.0 | A | 0 | Cursor |
| build-deploymenthatefsystems/search-engine-core | Cursor rule | 5 | 15d ago | Apache-2.0 | A | 8 | Cursor |
| kubernetes-helmasaphe/promptcraft | Cursor rule | 4 | 4d ago | none | A | 0 | Cursor |
| deploymentlevifig/rails-instructions | Cursor rule | 57 | 1y ago | MIT | A | 0 | Cursor |
| docker-deploymentmadebyaris/poinf-of-sales | Cursor rule | 159 | 1y ago | MIT | C | 0 | Cursor |