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 rules/stramp/lost-mines-phandelver/ci-cdgit clone --depth 1 https://github.com/Stramp/Lost-Mines-PhandelverWhat 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.00893 | $0.00893 |
| Opus 5 | $0.00447 | $0.00447 |
| Sonnet 5 | $0.00179 | $0.00179 |
| Haiku 4.5 | $0.00089 | $0.00089 |
Grade A, and why
ci-cd 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 2d 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 — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CI/CD Rules (Continuous Integration/Continuous Deployment)
Concept
CI/CD automates build, test and deploy processes, ensuring code always compiles and works correctly.
Recommended Pipeline
1. Build (Compilation)
ALWAYS compile the project on each commit/pull request.
Objective: Detect compilation errors immediately.
2. Tests
ALWAYS run tests automatically after successful build.
Objective: Detect regressions and bugs.
3. Code Validation
ALWAYS validate:
- Formatting (clang-format)
- Linting (clang-tidy, if configured)
- Static analysis (if configured)
Objective: Maintain code quality and consistency.
4. Documentation Validation
ALWAYS verify:
- README.md exists and is updated
- ARCHITECTURE.md is updated (if there are architectural changes)
- Comments in new code
Objective: Ensure documentation is always updated.
GitHub Actions Configuration
Example: .github/workflows/build.yml
name: Build and Test
on:
push:
branches: [ master, main, develop ]
pull_request:
branches: [ master, main, develop ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Unreal Engine
# Configure Unreal Engine path
- name: Generate Project Files
run: |
"C:\Program Files\Epic Games\UE_5.7\Engine\Build\BatchFiles\RunUBT.bat" -projectfiles -project="${{ github.workspace }}\MyProject2.uproject" -game -engine
- name: Build Project
run: |
"C:\Program Files\Epic Games\UE_5.7\Engine\Build\BatchFiles\Build.bat" MyProject2Editor Win64 Development "${{ github.workspace }}\MyProject2.uproject" -waitmutex
- name: Run Tests
run: |
# Run automated tests
# (when implemented)
- name: Validate Code Format
run: |
# Check formatting with clang-format
# (when configured)
CI/CD Rules
1. Build Must Always Pass
- NEVER commit code that doesn't compile
- If build fails, fix before continuing
- Use CI to validate before merge
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.
- 2d ago First seen · 161 lines · 893 tokens per session scan A 4d6c9fca49b7
ci-cd is a cursor rule published in the GitHub repository Stramp/Lost-Mines-Phandelver (2 stars, last pushed 9mo ago), licensed MIT. It adds 893 tokens to every session, about $0.0045 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 cursor rules, from other repositories
40-deploy
For PM2 processes, GitHub Actions, health checks, and production operations.
beanstalk-deploy
Robust deployment patterns for Elastic Beanstalk with GitHub Actions, Pulumi, and edge case handling.
workflow-ci
Testing and verification workflow expectations.
ci-scripts-maintenance
CI and script maintenance after software updates.
test-headless-github-actions
Run Maven tests with GITHUBACTIONS=true so @WebTest Chrome is headless.
cursorrules
When the user asks about ci cd generator, use ci-cd-generator-ai-mcp tools: generatepipeline, validateconfig, listtemplates, optimizestages.