skills/config/SKILL.md
View and modify StarkFi CLI configuration — set custom RPC URLs, switch networks, manage gas settings, and check transaction status. Use this skill when the user mentions RPC, rate limits, network settings, gas mode, gas token, configuration, settings, preferences, or wants to check a transaction hash. Also trigger when the user wants to customize their setup, troubleshoot connection issues, fix errors, switch between mainnet and testnet, change how gas is paid, enable free gas, "gas fees too high", "not working", verify whether a transaction succeeded, or check tx status — even if they don't say "config".
npx skillsauth add ahmetenesdur/starkfi configInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage local configuration for the StarkFi CLI and check transaction status on-chain. Configuration includes RPC endpoints, network selection, and gas payment settings.
config list, config set-*, config get-rpc).tx-status and for config list to show the effective network source.# List all current settings
npx starkfi@latest config list
# Reset all settings to defaults
npx starkfi@latest config reset
# Set custom RPC URL
npx starkfi@latest config set-rpc <url>
# Get current RPC URL
npx starkfi@latest config get-rpc
# Switch network (takes effect immediately, no re-login needed)
npx starkfi@latest config set-network <network>
# Toggle developer-sponsored gas (Gasfree mode)
npx starkfi@latest config set-gasfree <on|off>
# Set gas payment token (for Gasless mode)
npx starkfi@latest config set-gas-token <token>
npx starkfi@latest tx-status <hash>
StarkFi supports two gas abstraction modes:
| Mode | Who Pays | Command | Description |
| ----------- | ------------- | --------------------------- | ----------------------------------------------- |
| Gasfree | Developer | config set-gasfree on | Gas fees sponsored by StarkFi via Paymaster |
| Gasless | User (ERC-20) | config set-gas-token STRK | User pays gas in an ERC-20 token (default mode) |
Supported gas tokens: ETH, STRK, USDC, USDT, DAI
Gasfree and Gasless are mutually exclusive — enabling one disables the other.
Default: Gasless mode with STRK as gas token. Gas is paid through the Paymaster, so the user does not need native ETH for gas — any supported ERC-20 works.
| Parameter | Type | Description | Required |
| --------- | ------ | --------------------------------------------- | -------- |
| url | string | Full HTTP(S) RPC endpoint URL | Yes |
| network | string | mainnet or sepolia | Yes |
| on/off | string | Enable or disable Gasfree mode | Yes |
| token | string | Gas token symbol or reset (reverts to STRK) | Yes |
| hash | string | Transaction hash (0x...) | Yes |
config set-rpc to set a custom RPC endpoint.set-network takes effect instantly for all commands — no re-login required. The config setting overrides the session's login network. config list shows the effective network with its source (e.g. sepolia (config override, session: mainnet)).tx-status AFTER every send, trade, multi-swap, batch, dca-create, dca-cancel, conf-fund, conf-transfer, conf-withdraw, and staking/lending transaction to verify success.config get-rpc to check the current RPC URL before changing it.User: "I'm getting rate limit errors"
npx starkfi@latest config get-rpc
npx starkfi@latest config set-rpc https://starknet-mainnet.g.alchemy.com/v2/<key>
User: "Show my current configuration"
npx starkfi@latest config list
User: "Switch to testnet"
npx starkfi@latest config set-network sepolia
npx starkfi@latest config list # Verify: shows "sepolia (config override, session: mainnet)"
User: "Enable free gas mode"
npx starkfi@latest config set-gasfree on
User: "I want to pay gas in USDC"
npx starkfi@latest config set-gasfree off
npx starkfi@latest config set-gas-token USDC
User: "Reset gas token to default"
npx starkfi@latest config set-gas-token reset
User: "Reset all my settings"
npx starkfi@latest config reset
User: "Did my transaction go through? Hash is 0xabc..."
npx starkfi@latest tx-status 0xabc...
| Error | Action |
| ----------------------- | --------------------------------------------------- |
| Invalid RPC URL | Ensure URL starts with http:// or https://. |
| Invalid network | Use mainnet or sepolia. |
| Unsupported gas token | Must be one of: ETH, STRK, USDC, USDT, DAI. |
| Transaction not found | Verify the hash is correct and the network matches. |
| Pending | Transaction is still in mempool — wait and retry. |
config set-gasfree on for developer-sponsored gas.tx-status to verify transactions from any transactional skill.testing
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
testing
Liquid staking via Endur on Starknet — stake STRK to receive xSTRK, redeem xSTRK back to STRK, check positions, and view protocol stats. Yield is embedded in the xSTRK share price (no manual claim needed). Use this skill when the user mentions liquid staking, LST, xSTRK, Endur, liquid staking token, share price, instant staking, tradeable staking position, or wants a staking token they can trade or use in DeFi — even if they don't say "liquid staking" explicitly.
testing
Create, preview, list, and cancel recurring Dollar-Cost Averaging (DCA) buy orders on Starknet via AVNU or Ekubo. Use this skill when the user wants to set up automatic recurring purchases, dollar-cost average into a token, create a DCA order, schedule periodic buys, invest regularly, buy every day/week/month, or manage existing DCA orders. Also trigger when the user says "recurring buy", "scheduled purchase", "buy X of Y every day", or any variation about automated periodic investing — even if they don't use the term "DCA" explicitly.
development
Manage confidential (private) transfers via Tongo Cash on Starknet — setup, fund, transfer, withdraw, ragequit, rollover using ZK proofs. Use this skill when the user wants to send tokens privately, hide transfer amounts, use zero-knowledge proofs, set up Tongo, fund or withdraw from a confidential account, perform an emergency exit (ragequit), or activate pending balance (rollover). Also trigger when the user says "send privately", "confidential transfer", "hide my transaction", "Tongo Cash", "ZK transfer", or any variation about privacy-preserving transfers — even if they don't use the word "confidential".