staq
БесплатноБез исполняемых скриптовНе проверенAutomatically save a slice of every buy, sell or send into your own STAQ reserve, where it earns yield on Morpho, and, if the user chooses, put part of each…
от BankrBot★ 1 223 звезды на GitHubОб этом скилле
STAQ
STAQ saves a slice of the user's activity into a reserve that belongs to them, and puts it to work on Morpho.
Your job is narrow: report a transaction you just made to the STAQ API, and make exactly the save it returns, through the pinned StaqHub. You never decide how much to save, and you never decide where it goes.
This skill works with any agent that controls a wallet on Base. Bankr is the most common; nothing here depends on it.
Every save is one call to the hub, allocate, spending a savings budget the
user approved once at setup. Not a plain transfer. Three reasons: some wallets
refuse agent transfers whose recipient and amount were not in the user's own
message (Bankr does), a transfer carries no replay guard, and a transfer can
land at a reserve with no contract. The hub pulls only from the wallet that
calls it, pays only into that wallet's own reserve, and refuses the same ref
twice.
A save can also buy stocks. If the user chose to put part of their savings into stocks, the quote can carry one more call: a buy of the STAQ stock index through the Uniswap router, paid from the wallet and delivered into the same reserve. You rebuild it and check it as strictly as the hub call. See "Buying stocks".
If the wallet refuses the hub call because contract calls are switched off in its settings, say so once, in the user's words ("your wallet needs to allow this app's calls for saving to work"), and save nothing until they change it. Never look for a route around the wallet's own checks.
Most users say one line
Expect "add the staq skill, save for me thanks". Not a rate, not a list of trade types, and never words like reserve or rule. Do the work yourself and ask one question.
When a user asks you to save and has no rule yet:
Set up quietly. Derive their reserve and create your
/.staq/records without narrating any of it. Check whether the reserve has code yet.Offer the default in one message, and ask for one yes. The savings budget, and the setup if the reserve has no code, are part of the same offer:
I'll put 10% of every buy, sell and send into savings only you can withdraw. STAQ can put them to work earning interest without asking you first, which can lose value as well as gain, and keeps 10% of any interest and nothing else. There's a one-time setup that costs under a cent and gives your savings a $10 budget to draw from (say $25 or $50 if you'd like more). Sound good?
Any clear yes is the explicit yes: "yes", "ok", "sure", "go", "do it". Sign and submit the rule, then run the setup (see "Setting up the reserve"), confirm the contract is there and answers to their wallet, and write the standing rule (see "Making it automatic"). Confirm in one line: "Done. From now on I'll save 10% of your trades, from a $10 budget."
If they gave a number, use it. "Save 5%" or "$1 a trade" replaces the default rate; "$25 budget" replaces the default budget. Do not ask about trade types as well. Above 25% still takes the second confirmation. A budget is $10, $25 or $50 unless the user names another figure, which can be any amount they choose; never unlimited.
Savings never go in before there is a way out. The hub deploys the reserve's contract in the same transaction as the first save into it, so money can never land at an address with no contract behind it. The setup runs that first, smallest save on purpose, so the reserve is there before any trade is saved. If the setup is refused or fails, save nothing and say so: "I couldn't finish the one-time setup, so saving hasn't started and nothing moved." Then report what the wallet said. A rule signed before a failed setup moves nothing on its own: every quote for a reserve with no code is a skip.
"Save for me" is a request to be offered something, not agreement to 10%. The yes has to come after they have seen the rate. If the answer is anything other than a yes, ask what they would like instead and sign nothing.
Do not ask which chain, which token, which trade types, percent or fixed, or whether to earn interest now.
Use their words, not ours. None of the left column belongs in a message to a user:
| Not this | This |
|---|---|
reserve, clone, contract, 0xE03b… |
your savings |
| rule, bps, version, types | 10% of your trades |
| sign a message, nonce | nothing. If the wallet shows a prompt: "this confirms your savings setting and moves no money" |
base unit, 1 |
0.000001 USDC |
| approve, allowance, spender | your savings budget |
| deploy or activate the reserve | a one-time setup, under a cent |
| allocate, quote, save transaction | saving |
| Morpho vault, ERC-4626, deposit | earning interest |
index, Universal Router, swap, Split, bps |
the STAQ stock index, stocks, half in stocks |
| Permit2, router approval | your stocks budget |
| arbitrary contract calls window | "your wallet needs you to allow this fo |
Установить staq в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл staq?
Automatically save a slice of every buy, sell or send into your own STAQ reserve, where it earns yield on Morpho, and, if the user chooses, put part of each save into the STAQ stock index. Use when the user mentions STAQ, asks you to save for them or to start saving, asks to enable or change automatic savings, asks to put savings into stocks, asks how much they have saved, or asks to claim their savings; and after the agent completes a successful buy, sell or send.
Как установить скилл staq?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл staq запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic