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/hiromaily/go-crypto-wallet/github-actionsgit clone --depth 1 https://github.com/hiromaily/go-crypto-walletWrote 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/hiromaily/go-crypto-wallet/github-actions)<a href="https://agentmods.dev/rules/hiromaily/go-crypto-wallet/github-actions"><img src="https://agentmods.dev/badge/rules/hiromaily/go-crypto-wallet/github-actions.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00935 |
| Opus 5 | $0.00000 | $0.00467 |
| Sonnet 5 | $0.00000 | $0.00187 |
| Haiku 4.5 | $0.00000 | $0.00093 |
Grade A, and why
github-actions 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 — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub Actions Workflow Rules
Overview
Rules for modifying GitHub Actions workflow files (.github/workflows/*.yml) in go-crypto-wallet.
Runner Configuration
Required Runner
Always use ubuntu-slim as the runner unless there is a specific reason to use another image.
# Good
runs-on: ubuntu-slim
# Avoid (unless specifically needed)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
Why ubuntu-slim?
- Faster startup time (smaller image)
- Lower resource consumption
- Contains essential tools for most CI tasks
- Cost-effective for GitHub Actions minutes
Reference: GitHub Actions Runner Images
Available Runners
| Image | YAML Label | Use Case |
|---|---|---|
| Ubuntu Slim | ubuntu-slim |
Default choice - most CI tasks |
| Ubuntu 24.04 | ubuntu-latest or ubuntu-24.04 |
When additional tools are required |
| Ubuntu 22.04 | ubuntu-22.04 |
Legacy compatibility |
Performance Best Practices
Avoid Duplication
- Reusable Workflows: Extract common patterns into reusable workflows
- Composite Actions: Create composite actions for repeated steps
- Matrix Strategy: Use matrix for parallel execution instead of duplicate jobs
# Good: Matrix strategy for parallel execution
strategy:
matrix:
go-version: ['1.22', '1.23']
# Avoid: Duplicate jobs for each version
jobs:
test-go-122:
...
test-go-123:
...
Caching
Always use caching for dependencies:
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Conditional Execution
Use path filters to avoid unnecessary runs:
on:
push:
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
Branch Configuration
Default Branch
This repository uses main as the default branch. Always use main (not master):
# Good
on:
push:
branches:
- main
# Wrong
on:
push:
branches:
- master
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 · 185 lines · 0 tokens per session scan A 346c5516c25d
github-actions is a cursor rule published in the GitHub repository hiromaily/go-crypto-wallet (127 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 935 tokens. 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-09-03.
Other cursor rules, from other repositories
documentation
Documentation discovery index for Lineth monorepo.
design-system
../../.agents/rules/design-system.md.
architecture
../../.agents/rules/architecture.md.
env-vars
../../.agents/rules/env-vars.md.
tests-unit
../../.agents/rules/tests-unit.md.
tests-visual
../../.agents/rules/tests-visual.md.