Agent skills
Coding agents (Claude Code, Cursor, Codex, Grok, and many others) can load specialized
skills — instruction packages that teach the agent every kite / dhan command group,
the --json --no-color contract, and live-trading guardrails.
Source of truth
| Skill | Owns the skill package | Layout |
|---|---|---|
kite-cli |
ssswagatss/kite-cli | skills/kite-cli/ |
dhan-cli |
ssswagatss/dhan-cli | skills/dhan-cli/ |
On push to main, each project syncs its skill to the public dist repo so installers
without private-repo access still work.
Install
Section titled “Install”Prefer the public dist packages (no private GitHub access required):
npx skills add ssswagatss/kite-cli-dist --skill kite-cliGlobal, all agents:
npx skills add ssswagatss/kite-cli-dist --skill kite-cli -g --agent '*' -ynpx skills add ssswagatss/dhan-cli-dist --skill dhan-cliGlobal, all agents:
npx skills add ssswagatss/dhan-cli-dist --skill dhan-cli -g --agent '*' -yIf you have access to the private source repositories:
npx skills add ssswagatss/kite-cli --skill kite-clinpx skills add ssswagatss/dhan-cli --skill dhan-cliList without installing:
npx skills add ssswagatss/kite-cli-dist --listnpx skills add ssswagatss/dhan-cli-dist --listUpdate later:
npx skills update kite-clinpx skills update dhan-cliWhat you get
Section titled “What you get”| Skill | Binary | Covers |
|---|---|---|
kite-cli |
kite |
Auth, portfolio, orders, GTT, alerts, instruments, quotes, historical, margins, charges, MF (read-only) |
dhan-cli |
dhan |
Auth, account, portfolio, orders, super, control, IP whitelist, global stocks, instruments, raw, … |
Both skills enforce:
- Prefer
--json --no-colorfor every agent call. - Never invent live trades; use operator payload files.
- No retry loops on auth/API/static-IP errors.
- Re-check live flags with
kite|dhan <cmd> --helpwhen unsure.
Pair with the binary
Section titled “Pair with the binary”Skills teach the agent; they do not install the CLI itself.
# Binarycurl -fsSL https://cli.jorli.in/install/kite.sh | shcurl -fsSL https://cli.jorli.in/install/dhan.sh | sh
# Skill (public)npx skills add ssswagatss/kite-cli-dist --skill kite-cli -g --agent '*' -ynpx skills add ssswagatss/dhan-cli-dist --skill dhan-cli -g --agent '*' -yWindows binary install: see Install.
See also
Section titled “See also”- Terminal agent guide — shared operating rules.
- Concepts — exit codes, secrets, live-trading guardrails.
- Security — keyring storage, no telemetry.