atlas-hcl

atlas-hcl is a cursor rule for Cursor from hiromaily/go-crypto-wallet. It costs 0 tokens per session (3,142 once invoked), scanned A, original, MIT.

A set of rules for editing HCL files, a configuration language used here to define Atlas database schemas and environments.

In plain words
What is it for?
Use it when modifying Atlas configuration or wallet schemas for local PostgreSQL or MySQL environments.
Why use it?
It helps keep PostgreSQL and MySQL schema changes in the correct directories and follow the project's database conventions.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when modifying Atlas configuration or wallet schemas for local PostgreSQL or MySQL environments.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/hiromaily/go-crypto-wallet/atlas-hcl
Install

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.

Clone the repo
git clone --depth 1 https://github.com/hiromaily/go-crypto-wallet

Made for: Cursor.

Wrote 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.

agentmods badge for atlas-hcl

README.md
[![agentmods](https://agentmods.dev/badge/rules/hiromaily/go-crypto-wallet/atlas-hcl/github.svg)](https://agentmods.dev/rules/hiromaily/go-crypto-wallet/atlas-hcl)
Your own site
<a href="https://agentmods.dev/rules/hiromaily/go-crypto-wallet/atlas-hcl"><img src="https://agentmods.dev/badge/rules/hiromaily/go-crypto-wallet/atlas-hcl/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.

agentmods 80×15 button for atlas-hcl

Your own site · 80×15
<a href="https://agentmods.dev/rules/hiromaily/go-crypto-wallet/atlas-hcl"><img src="https://agentmods.dev/badge/rules/hiromaily/go-crypto-wallet/atlas-hcl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 3,142 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.03142
Opus 5 $0.00000 $0.01571
Sonnet 5 $0.00000 $0.00628
Haiku 4.5 $0.00000 $0.00314

Measured 10d ago against content hash 094115b18fff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

atlas-hcl 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 10d 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.

.cursor/rules/database/atlas-hcl.mdc · 362 lines

How it starts

The opening of the file, as written. The whole thing — 362 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Atlas HCL File Rules

Overview

Rules for modifying HCL (HashiCorp Configuration Language) files (*.hcl) in go-crypto-wallet.

Supported DB Dialects

This project supports two database dialects: PostgreSQL and MySQL. The DB_DIALECT variable (default: postgres) controls which dialect is targeted.

Applicable Directories

Path Description
tools/atlas/schemas/postgres/ PostgreSQL schema definitions definitions (source of truth)
tools/atlas/schemas/mysql/ MySQL schema definitions (source of truth)
tools/atlas/atlas.hcl Atlas configuration (all environments)

Schema Files

Each dialect has its own set of schema files:

File Description
tools/atlas/schemas/{dialect}/watch.hcl Watch wallet schema (online)
tools/atlas/schemas/{dialect}/keygen.hcl Keygen wallet schema (offline)
tools/atlas/schemas/{dialect}/sign.hcl Sign wallet schema (offline)

Where {dialect} is mysql or postgres.

Atlas Environments

Defined in tools/atlas/atlas.hcl:

Environment Dialect Purpose
local_postgres_watch PostgreSQL Local watch DB
local_postgres_keygen PostgreSQL Local keygen DB
local_postgres_sign PostgreSQL Local sign DB
admin_postgres_watch PostgreSQL Admin (schema clean)
admin_postgres_keygen PostgreSQL Admin (schema clean)
admin_postgres_sign PostgreSQL Admin (schema clean)
local_mysql_watch MySQL Local watch DB
local_mysql_keygen MySQL Local keygen DB
local_mysql_sign MySQL Local sign DB
admin_mysql_watch MySQL Admin (schema clean)
admin_mysql_keygen MySQL Admin (schema clean)
admin_mysql_sign MySQL Admin (schema clean)

Read the full file on GitHub · 362 lines

Changes

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.

  1. 10d ago First seen · 362 lines · 0 tokens per session scan A 094115b18fff

Subscribe to this mod's changes

atlas-hcl 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 3,142 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-01.