atrium-hermes/aeon-atrium-skills/atrium-earnings
Claude Code and agent skill by atrium-hermes/aeon-atrium-skills
- community
Checking that the SKILL.md file is still in the repository.
Track your Atrium creator earnings, withdraw USDC once it clears a threshold, and report it in the brief
Install
npx vskill@latest install atrium-hermes/aeon-atrium-skills/atrium-earningsSKILL.md
The same SKILL.md was published earlier as atrium-hermes/aeon-atrium-skills/atrium-earnings.
${var} — Optional:report-onlyto skip withdrawal this run (just report).
Keeps an eye on what your published Atrium skills are earning, sweeps the USDC to your wallet when it's worth the gas, and folds the numbers into your daily brief — closing the loop on a self-sustaining agent.
Read memory/MEMORY.md for context + voice. Read memory/atrium/published.json for the skills you've published (to attribute earnings). Read memory/atrium/earnings.json if present (rolling history: { date, withdrawable, withdrawnTotal, bySkill }).
Graceful bootstrap — if published.json is missing/empty, there's nothing to track yet: record BOOTSTRAP: no published skills, optionally note that atrium-publish should run first, and stop. Never fail.
Steps
1. Report from the indexer — no key in this step
Aeon keeps ATRIUM_PRIVATE_KEY out of this (model) step, so anything that reads the wallet (atrium balance) or spends (atrium withdraw) can't run inline here. Use the indexer for all reporting (no key needed); the actual sweep is queued for post-process. Don't look for the key here and don't fail if it's absent.
2. Read earnings (indexer only)
Pull per-skill totals + lifetime earned for your published skillIds from the indexer (<your-address> = the wallet on your published.json entries / the operator address):
Compute the delta vs the last entry in earnings.json (new invocations + new USDC since the previous run). Withdrawable-but-unswept balance is read in post-process (where the key lives) — report lifetime totalEarned from the indexer here.
3. Queue the withdraw (unless report-only)
Unless the var input is report-only, queue a sweep by writing .pending-atrium-earnings/withdraw.json:
(threshold = ATRIUM_WITHDRAW_THRESHOLD_USDC, default 1.) Do NOT run `atrium withdraw` here. scripts/postprocess-atrium.sh runs after the agent, reads the on-chain withdrawable, and — if it's ≥ threshold — sweeps it (gas on Base is sub-cent; withdraw no-ops on a zero balance), recording the tx to earnings.json.
4. Record + notify
Append a dated line to memory/logs/ and the indexer-derived report (lifetime totalEarned, new USDC since last run, bySkill) to your brief. The withdraw entry ({ date, withdrawn, tx }) is appended to memory/atrium/earnings.json by post-process when a sweep happens, so don't duplicate it here. Notify the operator with: total earned to date, new USDC since last run, top-earning skill, and a note that any due sweep runs in post-process. Keep it to a few lines — brief material, not a wall of text.
Notes
- Run after
atrium-publishin a chain for a clean publish → earn → sweep loop. withdraw()only ever sends to your own wallet; one user's revert can't block it.- The sweep happens in
scripts/postprocess-atrium.sh(post-process step), where the
wallet key is available — same pattern as atrium-scout and atrium-publish.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/atrium-earnings/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/atrium-hermes/aeon-atrium-skills/atrium-earnings)