AI skill
Let Claude Code, Codex or another agent write Create scripts from one sentence.
- Download skill (.zip): the skill folder, to unpack into your agent's skills folder.
- Copy for chat:
SKILL.mdand the API types as one text, to paste into a chat.
The same options are under "AI skill" in the script editor's toolbar.
What's in it
SKILL.md: the rules for a correct script, the concepts in short form, and links to these docs.references/api.d.ts: the whole script API as types, with doc comments.examples/: the scripts from the examples, as.tsfiles.
Install
| Agent | Where |
|---|---|
| Claude Code | ~/.claude/skills/tradingthings-create/ or .claude/skills/tradingthings-create/ in a project |
| Codex | ~/.codex/skills/tradingthings-create/ |
| Others | Add SKILL.md to the agent's instructions and let it read references/ and examples/ |
Ask
One sentence is enough:
Write a tradingthings Create script that marks every bar whose volume is twice the 20 bar average.
The agent writes a .ts file. Paste it into the script editor ("New script") or use "Import script (.ts)" in the indicator list, then save. Type errors show in the editor before the script runs.