[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75JFAF0MHCZATCDY5ECVAVS":3,"skill-same:01M75JFAF0MHCZATCDY5ECVAVS":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M75JFAF0MHCZATCDY5ECVAVS","zerodha-kite-cli-router",null,"Route natural-language trading\u002Faccount queries to the correct `zerodha` CLI command with exact flags, validation constraints, and synonym mapping. Use when a user asks to view prices, place\u002Fmodify\u002Fcancel orders, manage auth\u002Fprofile\u002Fconfig, work with holdings\u002Fpositions\u002Fmargins\u002FGTT\u002FMF flows, or asks \"which zerodha command should I run?\"","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fjatinbansal1998\u002Fzerodha-kite\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: zerodha-kite-cli-router\ndescription: Route natural-language trading\u002Faccount queries to the correct `zerodha` CLI command with exact flags, validation constraints, and synonym mapping. Use when a user asks to view prices, place\u002Fmodify\u002Fcancel orders, manage auth\u002Fprofile\u002Fconfig, work with holdings\u002Fpositions\u002Fmargins\u002FGTT\u002FMF flows, or asks \"which zerodha command should I run?\"\n---\n\n# Purpose\n\nTranslate a user query in plain English into one exact `zerodha` CLI command.\n\nDo not invent commands or flags. Use only commands defined here.\n\n# Bootstrap: CLI Installation\n\nIf the user asks to install\u002Fsetup the CLI, or reports `zerodha: command not found`, route to an installer command first.\n\nThis is the only exception to \"commands must start with `zerodha`\".\n\nInstall commands:\n\n- Linux\u002FmacOS (`curl`): `curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.sh | sh`\n- Linux\u002FmacOS (`wget`): `wget -qO- https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.sh | sh`\n- Windows PowerShell: `irm https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.ps1 | iex`\n- Windows CMD: `powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.ps1 | iex\"`\n\nPost-install verification command:\n\n- `zerodha version`\n\n# Global Rules\n\n1. Always start commands with `zerodha` (except install\u002Fbootstrap commands in \"Bootstrap: CLI Installation\").\n2. Prefer `--json` when the user asks for machine-readable output.\n3. Respect global flags when provided:\n   - `--profile \u003Cname>`\n   - `--config \u003Cpath>`\n   - `--json`\n   - `--debug`\n4. Profile selection:\n   - Most commands require an active profile (or explicit `--profile`).\n   - If no profile is selected, use:\n     `zerodha config profile use \u003Cname>`\n5. Auth\u002Fsession:\n   - API data\u002Forder commands require an access token.\n   - If missing, run `zerodha auth login ...`.\n   - CLI auto-refreshes access token when refresh token exists.\n6. Never guess missing required fields for write actions; ask for the missing values.\n7. If OS is required for installation routing and missing, ask for only the OS (`linux`, `macos`, or `windows`).\n\n# Login Flow (Multi-Message)\n\nUse this flow when the user wants to authenticate and provides `api_key`, `api_secret`, and token across one or more messages.\n\nCollected auth fields (can arrive in any order):\n\n- `profile_name` (default to `default` if user does not specify)\n- `api_key`\n- `api_secret`\n- one login mode:\n  - `request_token_or_redirect_url`, or\n  - `callback` (optional `callback_port`)\n\nRules:\n\n1. Persist auth fields provided in earlier user messages during the same login task.\n2. Ask only for missing required auth inputs for the next step.\n3. Do not emit `zerodha auth login ...` until profile credentials are configured.\n4. If `api_key` + `api_secret` are available and profile setup is needed, emit:\n   `zerodha config profile add \u003Cprofile_name> --api-key \u003Ckey> --api-secret \u003Csecret> --set-active`\n5. If user explicitly wants to update only one credential on an existing profile, emit:\n   - `zerodha config profile set-api-key \u003Cprofile_name> --api-key \u003Ckey>`\n   - `zerodha config profile set-api-secret \u003Cprofile_name> --api-secret \u003Csecret>`\n6. For token mode, emit:\n   `zerodha auth login --request-token \u003Ctoken_or_redirect_url>`\n7. For callback mode, emit:\n   `zerodha auth login --callback [--callback-port \u003C1-65535>]`\n8. If multiple commands are needed, output only the next runnable command.\n\n# Command Catalog\n\n## Root utilities\n\n- `zerodha version`\n- `zerodha help [command]`\n- `zerodha completion \u003Cshell>`\n\n## Config profile\n\n- `zerodha config profile add \u003Cname> --api-key \u003Ckey> --api-secret \u003Csecret> [--set-active]`\n  - Constraints: `\u003Cname>` required; `--api-key` and `--api-secret` required.\n- `zerodha config profile set-api-key \u003Cname> --api-key \u003Ckey>`\n  - Constraints: `\u003Cname>`, `--api-key` required.\n- `zerodha config profile set-api-secret \u003Cname> --api-secret \u003Csecret>`\n  - Constraints: `\u003Cname>`, `--api-secret` required.\n- `zerodha config profile list`\n- `zerodha config profile use \u003Cname>`\n  - Constraints: `\u003Cname>` must exist.\n- `zerodha config profile remove \u003Cname>`\n  - Constraints: `\u003Cname>` must exist.\n\n## Auth\n\n- `zerodha auth login --request-token \u003Ctoken_or_redirect_url>`\n- `zerodha auth login --callback [--callback-port \u003C1-65535>]`\n  - Constraints:\n    - Exactly one mode is required: `--request-token` OR `--callback`.\n    - `--request-token` cannot be combined with `--callback`.\n    - `--callback-port` allowed only with `--callback`.\n    - `--callback-port` range: `1..65535`.\n- `zerodha auth renew`\n  - Constraints: refresh token must exist in profile.\n- `zerodha auth logout`\n- `zerodha auth revoke-refresh [--refresh-token \u003Ctoken>]`\n  - If omitted, uses stored refresh token.\n\n## Profile\n\n- `zerodha profile show`\n- `zerodha profile full`\n\n## Quotes\n\n- `zerodha quote get \u003CEXCHANGE:SYMBOL> [EXCHANGE:SYMBOL...]`\n  - Constraints: at least 1 instrument.\n- `zerodha quote ltp \u003CEXCHANGE:SYMBOL> [EXCHANGE:SYMBOL...]`\n  - Constraints: at least 1 instrument.\n- `zerodha quote ohlc \u003CEXCHANGE:SYMBOL> [EXCHANGE:SYMBOL...]`\n  - Constraints: at least 1 instrument.\n- `zerodha quote historical --instrument-token \u003Cint> --interval \u003Cvalue> --from \u003Ctime> --to \u003Ctime> [--continuous] [--oi]`\n  - Constraints:\n    - `--instrument-token > 0`\n    - `--interval` required\n    - `--from` and `--to` required\n    - time format: `YYYY-MM-DD` or `YYYY-MM-DD HH:MM:SS` or RFC3339\n    - `--from \u003C= --to`\n\n## Instruments\n\n- `zerodha instruments list [--exchange \u003CEXCHANGE> | --all]`\n  - Default (no flags): summary by exchange\u002Ftype.\n  - Constraints: `--exchange` and `--all` are mutually exclusive.\n- `zerodha instruments mf`\n\n## Orders (single order operations)\n\n- `zerodha order place --exchange \u003CEX> --symbol \u003CSYM> --txn \u003CBUY|SELL> --type \u003CMARKET|LIMIT|SL|SL-M> --product \u003CCNC|MIS|NRML|MTF> --qty \u003Cn> [--price \u003Cp>] [--trigger-price \u003Cp>] [--validity \u003CDAY|IOC|TTL>] [--validity-ttl \u003Cmin>] [--variety \u003Cv>] [--tag \u003Ct>]`\n  - Constraints:\n    - required: `--exchange --symbol --txn --type --product --qty`\n    - `--qty > 0`\n    - LIMIT requires `--price > 0`\n    - SL requires both `--price > 0` and `--trigger-price > 0`\n    - SL-M requires `--trigger-price > 0`\n    - TTL validity requires `--validity-ttl > 0`\n- `zerodha order modify --order-id \u003Cid> [fields...]`\n  - Constraints:\n    - `--order-id` required\n    - At least one modifiable field required.\n    - If provided, `--txn` must be BUY\u002FSELL; `--type` must be MARKET\u002FLIMIT\u002FSL\u002FSL-M; `--validity` must be DAY\u002FIOC\u002FTTL.\n- `zerodha order cancel --order-id \u003Cid> [--variety \u003Cv>] [--parent-order-id \u003Cid>]`\n  - Constraints: `--order-id` required.\n- `zerodha order exit --order-id \u003Cid> [--variety \u003Cv>] [--parent-order-id \u003Cid>]`\n  - Constraints: `--order-id` required.\n\n## Orders (orderbook\u002Ftrades)\n\n- `zerodha orders list`\n- `zerodha orders show --order-id \u003Cid>`\n  - Constraints: `--order-id` required.\n- `zerodha orders trades [--order-id \u003Cid>]`\n\n## Positions\n\n- `zerodha positions`\n- `zerodha positions convert --exchange \u003CEX> --symbol \u003CSYM> --old-product \u003CCNC|MIS|NRML|MTF> --new-product \u003CCNC|MIS|NRML|MTF> --position-type \u003Cday|overnight> --txn \u003CBUY|SELL> --qty \u003Cn>`\n  - Constraints:\n    - all flags above required\n    - `--qty > 0`\n\n## Holdings\n\n- `zerodha holdings`\n- `zerodha holdings auctions`\n- `zerodha holdings auth-initiate [--type \u003Cequity|mf>] [--transfer-type \u003Cpre|post|off|gift>] [--exec-date YYYY-MM-DD] [--isin \u003Cisin> ...] [--qty \u003Cfloat> ...]`\n  - Constraints:\n    - if `--type` set, must be `equity|mf`\n    - if `--transfer-type` set, must be `pre|post|off|gift`\n    - if `--exec-date` set, format must be `YYYY-MM-DD`\n    - `--isin` and `--qty` must have matching counts\n    - each `--qty` must be `> 0`\n\n## Margins\n\n- `zerodha margins [--segment \u003Call|equity|commodity>]`\n- `zerodha margins order --exchange \u003CEX> --symbol \u003CSYM> --txn \u003CBUY|SELL> --type \u003CMARKET|LIMIT|SL|SL-M> --product \u003CCNC|MIS|NRML|MTF> --qty \u003Cn> [--price \u003Cp>] [--trigger-price \u003Cp>] [--variety \u003Cv>] [--compact]`\n- `zerodha margins basket --exchange \u003CEX> --symbol \u003CSYM> --txn \u003CBUY|SELL> --type \u003CMARKET|LIMIT|SL|SL-M> --product \u003CCNC|MIS|NRML|MTF> --qty \u003Cn> [--price \u003Cp>] [--trigger-price \u003Cp>] [--variety \u003Cv>] [--compact] [--consider-positions]`\n- `zerodha margins charges --exchange \u003CEX> --symbol \u003CSYM> --txn \u003CBUY|SELL> --type \u003CMARKET|LIMIT|SL|SL-M> --product \u003CCNC|MIS|NRML|MTF> --qty \u003Cn> --avg-price \u003Cp> [--price \u003Cp>] [--trigger-price \u003Cp>] [--variety \u003Cv>] [--order-id \u003Cid>]`\n  - Shared constraints for order\u002Fbasket\u002Fcharges:\n    - required: `--exchange --symbol --txn --type --product --qty`\n    - `--qty > 0`\n    - LIMIT requires `--price > 0`\n    - SL requires both `--price > 0` and `--trigger-price > 0`\n    - SL-M requires `--trigger-price > 0`\n  - Additional charges constraint:\n    - `--avg-price > 0`\n\n## GTT\n\n- `zerodha gtt place [gtt flags]`\n- `zerodha gtt modify --trigger-id \u003Cid> [gtt flags]`\n- `zerodha gtt list`\n- `zerodha gtt show --trigger-id \u003Cid>`\n- `zerodha gtt delete --trigger-id \u003Cid>`\n\nGTT common flags:\n- `--exchange \u003CEX> --symbol \u003CSYM> --last-price \u003Cp> --txn \u003CBUY|SELL> [--product \u003CCNC|MIS|NRML|MTF>] [--type \u003Csingle|two-leg>]`\n- For `single` type:\n  - `--trigger \u003Cp> --limit-price \u003Cp> --qty \u003Cq>`\n- For `two-leg` type:\n  - `--lower-trigger \u003Cp> --lower-limit-price \u003Cp> --lower-qty \u003Cq>`\n  - `--upper-trigger \u003Cp> --upper-limit-price \u003Cp> --upper-qty \u003Cq>`\n\nGTT constraints:\n- `--exchange --symbol --txn` required\n- `--last-price > 0`\n- `--txn` in `BUY|SELL`\n- `--product` in `CNC|MIS|NRML|MTF`\n- `--trigger-id > 0` for show\u002Fmodify\u002Fdelete\n\n## Mutual Funds\n\n### MF Orders\n\n- `zerodha mf orders place --symbol \u003CSYM> --txn \u003CBUY|SELL> [--qty \u003Cq>] [--amount \u003Camt>] [--tag \u003Ct>]`\n  - Constraints:\n    - `--symbol` and `--txn` required\n    - at least one of `--qty` or `--amount` must be `> 0`\n    - `--qty` and `--amount` cannot be negative\n- `zerodha mf orders list [--from YYYY-MM-DD --to YYYY-MM-DD]`\n  - Constraints:\n    - `--from` and `--to` must be provided together\n    - date format: `YYYY-MM-DD`\n- `zerodha mf orders show --order-id \u003Cid>`\n  - Constraints: `--order-id` required\n- `zerodha mf orders cancel --order-id \u003Cid>`\n  - Constraints: `--order-id` required\n\n### MF SIPs\n\n- `zerodha mf sips place --symbol \u003CSYM> --amount \u003Camt> --instalments \u003Cn> --frequency \u003Cf> [--instalment-day \u003C1..31>] [--initial-amount \u003Camt>] [--trigger-price \u003Cp>] [--step-up \u003Cv>] [--sip-type \u003Cv>] [--tag \u003Ct>]`\n  - Constraints:\n    - required: `--symbol --amount --instalments --frequency`\n    - `--amount > 0`, `--instalments > 0`\n    - `--instalment-day` if provided must be in `1..31` (0 means not set)\n    - `--initial-amount` and `--trigger-price` cannot be negative\n- `zerodha mf sips modify --sip-id \u003Cid> [--amount \u003Camt>] [--frequency \u003Cf>] [--instalment-day \u003C1..31>] [--instalments \u003Cn>] [--step-up \u003Cv>] [--status \u003Cv>]`\n  - Constraints:\n    - `--sip-id` required\n    - at least one modifiable field required\n    - numeric fields cannot be negative\n- `zerodha mf sips cancel --sip-id \u003Cid>`\n  - Constraints: `--sip-id` required\n- `zerodha mf sips list`\n- `zerodha mf sips show --sip-id \u003Cid>`\n  - Constraints: `--sip-id` required\n\n### MF Holdings\n\n- `zerodha mf holdings`\n- `zerodha mf holdings show --isin \u003Cisin>`\n  - Constraints: `--isin` required\n- `zerodha mf holdings isins`\n\n# Synonym Map\n\nUse these mappings during intent parsing.\n\n## Market data\n\n- `quote` synonyms: `price`, `live price`, `current price`, `quote`, `snapshot`\n- `ltp` synonyms: `ltp`, `last traded price`, `last price`, `tick`\n- `ohlc` synonyms: `open high low close`, `ohlc`, `candle snapshot`\n- `historical` synonyms: `history`, `candles`, `chart data`, `time series`\n\n## Account and auth\n\n- `profile` synonyms: `account details`, `user profile`, `my account`\n- `login` synonyms: `authenticate`, `sign in`, `connect kite`\n- `renew` synonyms: `refresh access token`, `renew token`\n- `logout` synonyms: `sign out`, `clear session`\n\n## Bootstrap\n\n- `install cli` synonyms: `install zerodha cli`, `setup zerodha cli`, `command not found`, `zerodha not installed`\n\n## Orders and tradebook\n\n- `order place` synonyms: `buy`, `sell`, `place order`, `new order`, `execute trade`\n- `order modify` synonyms: `edit order`, `change order`, `update order`\n- `order cancel` synonyms: `cancel order`, `delete order`\n- `order exit` synonyms: `square off order`, `exit order`\n- `orders list` synonyms: `orderbook`, `all orders`\n- `orders trades` synonyms: `tradebook`, `fills`, `executed trades`\n\n## Portfolio\n\n- `positions` synonyms: `open positions`, `net positions`\n- `positions convert` synonyms: `convert position`, `change product type`\n- `holdings` synonyms: `portfolio holdings`, `stocks held`, `demat holdings`\n- `holdings auctions` synonyms: `auction holdings`, `auction eligible`\n\n## Risk\u002Fmargins\n\n- `margins` synonyms: `available margin`, `used margin`, `funds`\n- `margins order` synonyms: `margin required`, `order margin estimate`\n- `margins basket` synonyms: `basket margin`, `combined margin`\n- `margins charges` synonyms: `brokerage estimate`, `charges`, `fees`\n\n## GTT\n\n- `gtt` synonyms: `good till trigger`, `trigger order`, `price alert order`\n- `gtt two-leg` synonyms: `oco`, `one cancels other`, `bracket trigger`\n\n## Mutual funds\n\n- `mf orders` synonyms: `mutual fund order`, `fund buy\u002Fsell`\n- `mf sips` synonyms: `sip`, `systematic investment plan`\n- `mf holdings` synonyms: `mutual fund portfolio`, `fund holdings`\n\n# Routing Procedure\n\n1. Detect whether this is an install\u002Fbootstrap request, login\u002Fauth bootstrap request, or a normal `zerodha` command request.\n2. For install\u002Fbootstrap: pick the OS-specific installer command.\n3. For login\u002Fauth bootstrap: follow \"Login Flow (Multi-Message)\" and emit only the next runnable command.\n4. Otherwise detect intent domain using synonyms.\n5. Pick the narrowest command path.\n6. Extract required entities\u002Fflags.\n7. Validate against constraints above.\n8. If fields are missing, ask for only missing required inputs.\n9. Output one runnable command string.\n\n# Intent to Command Defaults\n\n- If user asks generic \"install zerodha cli\":\n  - Linux\u002FmacOS: `curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.sh | sh`\n  - Windows: `irm https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.ps1 | iex`\n- If user asks generic \"login\" and no auth fields are provided:\n  - ask for `api_key` and `api_secret` first (profile defaults to `default` unless specified)\n- If user provides `api_key` + `api_secret` but no token\u002Fmode:\n  - emit profile setup command first, then ask for token mode (`--request-token` or `--callback`)\n- If user asks generic \"show my profile\": use `zerodha profile show`.\n- If user asks generic \"show orders\": use `zerodha orders list`.\n- If user asks generic \"show trades\": use `zerodha orders trades`.\n- If user asks generic \"show positions\": use `zerodha positions`.\n- If user asks generic \"show holdings\": use `zerodha holdings`.\n- If user asks generic \"show margins\": use `zerodha margins --segment all`.\n- If user asks \"list instruments\" without exchange: use `zerodha instruments list`.\n\n# Output Contract For Downstream Agents\n\nWhen responding with a routed command, return:\n\n1. `command`: exact runnable command (installer command for bootstrap, otherwise `zerodha ...`)\n2. `why`: one-line reason\n3. `missing`: required fields still missing (empty if none)\n","# Purpose\n\nTranslate a user query in plain English into one exact `zerodha` CLI command.\n\nDo not invent commands or flags. Use only commands defined here.\n\n# Bootstrap: CLI Installation\n\nIf the user asks to install\u002Fsetup the CLI, or reports `zerodha: command not found`, route to an installer command first.\n\nThis is the only exception to \"commands must start with `zerodha`\".\n\nInstall commands:\n\n- Linux\u002FmacOS (`curl`): `curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.sh | sh`\n- Linux\u002FmacOS (`wget`): `wget -qO- https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.sh | sh`\n- Windows PowerShell: `irm https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.ps1 | iex`\n- Windows CMD: `powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.ps1 | iex\"`\n\nPost-install verification command:\n\n- `zerodha version`\n\n# Global Rules\n\n1. Always start commands with `zerodha` (except install\u002Fbootstrap commands in \"Bootstrap: CLI Installation\").\n2. Prefer `--json` when the user asks for machine-readable output.\n3. Respect global flags when provided:\n   - `--profile \u003Cname>`\n   - `--config \u003Cpath>`\n   - `--json`\n   - `--debug`\n4. Profile selection:\n   - Most commands require an active profile (or explicit `--profile`).\n   - If no profile is selected, use:\n     `zerodha config profile use \u003Cname>`\n5. Auth\u002Fsession:\n   - API data\u002Forder commands require an access token.\n   - If missing, run `zerodha auth login ...`.\n   - CLI auto-refreshes access token when refresh token exists.\n6. Never guess missing required fields for write actions; ask for the missing values.\n7. If OS is required for installation routing and missing, ask for only the OS (`linux`, `macos`, or `windows`).\n\n# Login Flow (Multi-Message)\n\nUse this flow when the user wants to authenticate and provides `api_key`, `api_secret`, and token across one or more messages.\n\nCollected auth fields (can arrive in any order):\n\n- `profile_name` (default to `default` if user does not specify)\n- `api_key`\n- `api_secret`\n- one login mode:\n  - `request_token_or_redirect_url`, or\n  - `callback` (optional `callback_port`)\n\nRules:\n\n1. Persist auth fields provided in earlier user messages during the same login task.\n2. Ask only for missing required auth inputs for the next step.\n3. Do not emit `zerodha auth login ...` until profile credentials are configured.\n4. If `api_key` + `api_secret` are available and profile setup is needed, emit:\n   `zerodha config profile add \u003Cprofile_name> --api-key \u003Ckey> --api-secret \u003Csecret> --set-active`\n5. If user explicitly wants to update only one credential on an existing profile, emit:\n   - `zerodha config profile set-api-key \u003Cprofile_name> --api-key \u003Ckey>`\n   - `zerodha config profile set-api-secret \u003Cprofile_name> --api-secret \u003Csecret>`\n6. For token mode, emit:\n   `zerodha auth login --request-token \u003Ctoken_or_redirect_url>`\n7. For callback mode, emit:\n   `zerodha auth login --callback [--callback-port \u003C1-65535>]`\n8. If multiple commands are needed, output only the next runnable command.\n\n# Command Catalog\n\n## Root utilities\n\n- `zerodha version`\n- `zerodha help [command]`\n- `zerodha completion \u003Cshell>`\n\n## Config profile\n\n- `zerodha config profile add \u003Cname> --api-key \u003Ckey> --api-secret \u003Csecret> [--set-active]`\n  - Constraints: `\u003Cname>` required; `--api-key` and `--api-secret` required.\n- `zerodha config profile set-api-key \u003Cname> --api-key \u003Ckey>`\n  - Constraints: `\u003Cname>`, `--api-key` required.\n- `zerodha config profile set-api-secret \u003Cname> --api-secret \u003Csecret>`\n  - Constraints: `\u003Cname>`, `--api-secret` required.\n- `zerodha config profile list`\n- `zerodha config profile use \u003Cname>`\n  - Constraints: `\u003Cname>` must exist.\n- `zerodha config profile remove \u003Cname>`\n  - Constraints: `\u003Cname>` must exist.\n\n## Auth\n\n- `zerodha auth login --request-token \u003Ctoken_or_redirect_url>`\n- `zerodha auth login --callback [--callback-port \u003C1-65535>]`\n  - Constraints:\n    - Exactly one mode is required: `--request-token` OR `--callback`.\n    - `--request-token` cannot be combined with `--callback`.\n    - `--callback-port` allowed only with `--callback`.\n    - `--callback-port` range: `1..65535`.\n- `zerodha auth renew`\n  - Constraints: refresh token must exist in profile.\n- `zerodha auth logout`\n- `zerodha auth revoke-refresh [--refresh-token \u003Ctoken>]`\n  - If omitted, uses stored refresh token.\n\n## Profile\n\n- `zerodha profile show`\n- `zerodha profile full`\n\n## Quotes\n\n- `zerodha quote get \u003CEXCHANGE:SYMBOL> [EXCHANGE:SYMBOL...]`\n  - Constraints: at least 1 instrument.\n- `zerodha quote ltp \u003CEXCHANGE:SYMBOL> [EXCHANGE:SYMBOL...]`\n  - Constraints: at least 1 instrument.\n- `zerodha quote ohlc \u003CEXCHANGE:SYMBOL> [EXCHANGE:SYMBOL...]`\n  - Constraints: at least 1 instrument.\n- `zerodha quote historical --instrument-token \u003Cint> --interval \u003Cvalue> --from \u003Ctime> --to \u003Ctime> [--continuous] [--oi]`\n  - Constraints:\n    - `--instrument-token > 0`\n    - `--interval` required\n    - `--from` and `--to` required\n    - time format: `YYYY-MM-DD` or `YYYY-MM-DD HH:MM:SS` or RFC3339\n    - `--from \u003C= --to`\n\n## Instruments\n\n- `zerodha instruments list [--exchange \u003CEXCHANGE> | --all]`\n  - Default (no flags): summary by exchange\u002Ftype.\n  - Constraints: `--exchange` and `--all` are mutually exclusive.\n- `zerodha instruments mf`\n\n## Orders (single order operations)\n\n- `zerodha order place --exchange \u003CEX> --symbol \u003CSYM> --txn \u003CBUY|SELL> --type \u003CMARKET|LIMIT|SL|SL-M> --product \u003CCNC|MIS|NRML|MTF> --qty \u003Cn> [--price \u003Cp>] [--trigger-price \u003Cp>] [--validity \u003CDAY|IOC|TTL>] [--validity-ttl \u003Cmin>] [--variety \u003Cv>] [--tag \u003Ct>]`\n  - Constraints:\n    - required: `--exchange --symbol --txn --type --product --qty`\n    - `--qty > 0`\n    - LIMIT requires `--price > 0`\n    - SL requires both `--price > 0` and `--trigger-price > 0`\n    - SL-M requires `--trigger-price > 0`\n    - TTL validity requires `--validity-ttl > 0`\n- `zerodha order modify --order-id \u003Cid> [fields...]`\n  - Constraints:\n    - `--order-id` required\n    - At least one modifiable field required.\n    - If provided, `--txn` must be BUY\u002FSELL; `--type` must be MARKET\u002FLIMIT\u002FSL\u002FSL-M; `--validity` must be DAY\u002FIOC\u002FTTL.\n- `zerodha order cancel --order-id \u003Cid> [--variety \u003Cv>] [--parent-order-id \u003Cid>]`\n  - Constraints: `--order-id` required.\n- `zerodha order exit --order-id \u003Cid> [--variety \u003Cv>] [--parent-order-id \u003Cid>]`\n  - Constraints: `--order-id` required.\n\n## Orders (orderbook\u002Ftrades)\n\n- `zerodha orders list`\n- `zerodha orders show --order-id \u003Cid>`\n  - Constraints: `--order-id` required.\n- `zerodha orders trades [--order-id \u003Cid>]`\n\n## Positions\n\n- `zerodha positions`\n- `zerodha positions convert --exchange \u003CEX> --symbol \u003CSYM> --old-product \u003CCNC|MIS|NRML|MTF> --new-product \u003CCNC|MIS|NRML|MTF> --position-type \u003Cday|overnight> --txn \u003CBUY|SELL> --qty \u003Cn>`\n  - Constraints:\n    - all flags above required\n    - `--qty > 0`\n\n## Holdings\n\n- `zerodha holdings`\n- `zerodha holdings auctions`\n- `zerodha holdings auth-initiate [--type \u003Cequity|mf>] [--transfer-type \u003Cpre|post|off|gift>] [--exec-date YYYY-MM-DD] [--isin \u003Cisin> ...] [--qty \u003Cfloat> ...]`\n  - Constraints:\n    - if `--type` set, must be `equity|mf`\n    - if `--transfer-type` set, must be `pre|post|off|gift`\n    - if `--exec-date` set, format must be `YYYY-MM-DD`\n    - `--isin` and `--qty` must have matching counts\n    - each `--qty` must be `> 0`\n\n## Margins\n\n- `zerodha margins [--segment \u003Call|equity|commodity>]`\n- `zerodha margins order --exchange \u003CEX> --symbol \u003CSYM> --txn \u003CBUY|SELL> --type \u003CMARKET|LIMIT|SL|SL-M> --product \u003CCNC|MIS|NRML|MTF> --qty \u003Cn> [--price \u003Cp>] [--trigger-price \u003Cp>] [--variety \u003Cv>] [--compact]`\n- `zerodha margins basket --exchange \u003CEX> --symbol \u003CSYM> --txn \u003CBUY|SELL> --type \u003CMARKET|LIMIT|SL|SL-M> --product \u003CCNC|MIS|NRML|MTF> --qty \u003Cn> [--price \u003Cp>] [--trigger-price \u003Cp>] [--variety \u003Cv>] [--compact] [--consider-positions]`\n- `zerodha margins charges --exchange \u003CEX> --symbol \u003CSYM> --txn \u003CBUY|SELL> --type \u003CMARKET|LIMIT|SL|SL-M> --product \u003CCNC|MIS|NRML|MTF> --qty \u003Cn> --avg-price \u003Cp> [--price \u003Cp>] [--trigger-price \u003Cp>] [--variety \u003Cv>] [--order-id \u003Cid>]`\n  - Shared constraints for order\u002Fbasket\u002Fcharges:\n    - required: `--exchange --symbol --txn --type --product --qty`\n    - `--qty > 0`\n    - LIMIT requires `--price > 0`\n    - SL requires both `--price > 0` and `--trigger-price > 0`\n    - SL-M requires `--trigger-price > 0`\n  - Additional charges constraint:\n    - `--avg-price > 0`\n\n## GTT\n\n- `zerodha gtt place [gtt flags]`\n- `zerodha gtt modify --trigger-id \u003Cid> [gtt flags]`\n- `zerodha gtt list`\n- `zerodha gtt show --trigger-id \u003Cid>`\n- `zerodha gtt delete --trigger-id \u003Cid>`\n\nGTT common flags:\n- `--exchange \u003CEX> --symbol \u003CSYM> --last-price \u003Cp> --txn \u003CBUY|SELL> [--product \u003CCNC|MIS|NRML|MTF>] [--type \u003Csingle|two-leg>]`\n- For `single` type:\n  - `--trigger \u003Cp> --limit-price \u003Cp> --qty \u003Cq>`\n- For `two-leg` type:\n  - `--lower-trigger \u003Cp> --lower-limit-price \u003Cp> --lower-qty \u003Cq>`\n  - `--upper-trigger \u003Cp> --upper-limit-price \u003Cp> --upper-qty \u003Cq>`\n\nGTT constraints:\n- `--exchange --symbol --txn` required\n- `--last-price > 0`\n- `--txn` in `BUY|SELL`\n- `--product` in `CNC|MIS|NRML|MTF`\n- `--trigger-id > 0` for show\u002Fmodify\u002Fdelete\n\n## Mutual Funds\n\n### MF Orders\n\n- `zerodha mf orders place --symbol \u003CSYM> --txn \u003CBUY|SELL> [--qty \u003Cq>] [--amount \u003Camt>] [--tag \u003Ct>]`\n  - Constraints:\n    - `--symbol` and `--txn` required\n    - at least one of `--qty` or `--amount` must be `> 0`\n    - `--qty` and `--amount` cannot be negative\n- `zerodha mf orders list [--from YYYY-MM-DD --to YYYY-MM-DD]`\n  - Constraints:\n    - `--from` and `--to` must be provided together\n    - date format: `YYYY-MM-DD`\n- `zerodha mf orders show --order-id \u003Cid>`\n  - Constraints: `--order-id` required\n- `zerodha mf orders cancel --order-id \u003Cid>`\n  - Constraints: `--order-id` required\n\n### MF SIPs\n\n- `zerodha mf sips place --symbol \u003CSYM> --amount \u003Camt> --instalments \u003Cn> --frequency \u003Cf> [--instalment-day \u003C1..31>] [--initial-amount \u003Camt>] [--trigger-price \u003Cp>] [--step-up \u003Cv>] [--sip-type \u003Cv>] [--tag \u003Ct>]`\n  - Constraints:\n    - required: `--symbol --amount --instalments --frequency`\n    - `--amount > 0`, `--instalments > 0`\n    - `--instalment-day` if provided must be in `1..31` (0 means not set)\n    - `--initial-amount` and `--trigger-price` cannot be negative\n- `zerodha mf sips modify --sip-id \u003Cid> [--amount \u003Camt>] [--frequency \u003Cf>] [--instalment-day \u003C1..31>] [--instalments \u003Cn>] [--step-up \u003Cv>] [--status \u003Cv>]`\n  - Constraints:\n    - `--sip-id` required\n    - at least one modifiable field required\n    - numeric fields cannot be negative\n- `zerodha mf sips cancel --sip-id \u003Cid>`\n  - Constraints: `--sip-id` required\n- `zerodha mf sips list`\n- `zerodha mf sips show --sip-id \u003Cid>`\n  - Constraints: `--sip-id` required\n\n### MF Holdings\n\n- `zerodha mf holdings`\n- `zerodha mf holdings show --isin \u003Cisin>`\n  - Constraints: `--isin` required\n- `zerodha mf holdings isins`\n\n# Synonym Map\n\nUse these mappings during intent parsing.\n\n## Market data\n\n- `quote` synonyms: `price`, `live price`, `current price`, `quote`, `snapshot`\n- `ltp` synonyms: `ltp`, `last traded price`, `last price`, `tick`\n- `ohlc` synonyms: `open high low close`, `ohlc`, `candle snapshot`\n- `historical` synonyms: `history`, `candles`, `chart data`, `time series`\n\n## Account and auth\n\n- `profile` synonyms: `account details`, `user profile`, `my account`\n- `login` synonyms: `authenticate`, `sign in`, `connect kite`\n- `renew` synonyms: `refresh access token`, `renew token`\n- `logout` synonyms: `sign out`, `clear session`\n\n## Bootstrap\n\n- `install cli` synonyms: `install zerodha cli`, `setup zerodha cli`, `command not found`, `zerodha not installed`\n\n## Orders and tradebook\n\n- `order place` synonyms: `buy`, `sell`, `place order`, `new order`, `execute trade`\n- `order modify` synonyms: `edit order`, `change order`, `update order`\n- `order cancel` synonyms: `cancel order`, `delete order`\n- `order exit` synonyms: `square off order`, `exit order`\n- `orders list` synonyms: `orderbook`, `all orders`\n- `orders trades` synonyms: `tradebook`, `fills`, `executed trades`\n\n## Portfolio\n\n- `positions` synonyms: `open positions`, `net positions`\n- `positions convert` synonyms: `convert position`, `change product type`\n- `holdings` synonyms: `portfolio holdings`, `stocks held`, `demat holdings`\n- `holdings auctions` synonyms: `auction holdings`, `auction eligible`\n\n## Risk\u002Fmargins\n\n- `margins` synonyms: `available margin`, `used margin`, `funds`\n- `margins order` synonyms: `margin required`, `order margin estimate`\n- `margins basket` synonyms: `basket margin`, `combined margin`\n- `margins charges` synonyms: `brokerage estimate`, `charges`, `fees`\n\n## GTT\n\n- `gtt` synonyms: `good till trigger`, `trigger order`, `price alert order`\n- `gtt two-leg` synonyms: `oco`, `one cancels other`, `bracket trigger`\n\n## Mutual funds\n\n- `mf orders` synonyms: `mutual fund order`, `fund buy\u002Fsell`\n- `mf sips` synonyms: `sip`, `systematic investment plan`\n- `mf holdings` synonyms: `mutual fund portfolio`, `fund holdings`\n\n# Routing Procedure\n\n1. Detect whether this is an install\u002Fbootstrap request, login\u002Fauth bootstrap request, or a normal `zerodha` command request.\n2. For install\u002Fbootstrap: pick the OS-specific installer command.\n3. For login\u002Fauth bootstrap: follow \"Login Flow (Multi-Message)\" and emit only the next runnable command.\n4. Otherwise detect intent domain using synonyms.\n5. Pick the narrowest command path.\n6. Extract required entities\u002Fflags.\n7. Validate against constraints above.\n8. If fields are missing, ask for only missing required inputs.\n9. Output one runnable command string.\n\n# Intent to Command Defaults\n\n- If user asks generic \"install zerodha cli\":\n  - Linux\u002FmacOS: `curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.sh | sh`\n  - Windows: `irm https:\u002F\u002Fraw.githubusercontent.com\u002Fjatinbansal1998\u002Fzerodha-kite-cli\u002Fmain\u002Fscripts\u002Finstall.ps1 | iex`\n- If user asks generic \"login\" and no auth fields are provided:\n  - ask for `api_key` and `api_secret` first (profile defaults to `default` unless specified)\n- If user provides `api_key` + `api_secret` but no token\u002Fmode:\n  - emit profile setup command first, then ask for token mode (`--request-token` or `--callback`)\n- If user asks generic \"show my profile\": use `zerodha profile show`.\n- If user asks generic \"show orders\": use `zerodha orders list`.\n- If user asks generic \"show trades\": use `zerodha orders trades`.\n- If user asks generic \"show positions\": use `zerodha positions`.\n- If user asks generic \"show holdings\": use `zerodha holdings`.\n- If user asks generic \"show margins\": use `zerodha margins --segment all`.\n- If user asks \"list instruments\" without exchange: use `zerodha instruments list`.\n\n# Output Contract For Downstream Agents\n\nWhen responding with a routed command, return:\n\n1. `command`: exact runnable command (installer command for bootstrap, otherwise `zerodha ...`)\n2. `why`: one-line reason\n3. `missing`: required fields still missing (empty if none)\n",{"name":5,"description":7},"main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fjatinbansal1998\u002Fzerodha-kite",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill zerodha-kite-cli-router",{"tool":39,"command":40},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill zerodha-kite-cli-router",{"tool":42,"command":43},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill zerodha-kite-cli-router","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fjatinbansal1998\u002Fzerodha-kite\u002FSKILL.md",true,[],[48,56,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":55},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":55},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":55},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":55},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":55},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":55},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]