stock-scheme-tracker
by @dcsight
Save and track stock investment strategies with entry/exit conditions in a local Markdown file and check current market data to recommend next steps.
Install
Copy the skill directory to your agent's skills folder:
# OpenClaw
cp -r stock-scheme-tracker ~/.openclaw/skills/WorkBuddy
cp -r stock-scheme-tracker ~/.workbuddy/skills/Claude Code (project-level)
cp -r stock-scheme-tracker .claude/skills/
Configure
Set the environment variable to point to your tracking file:
# Add to your shell profile (~/.zshrc, ~/.bashrc, etc.)
export STOCK_SCHEME_PATH="$HOME/Documents/stock/scheme.md"
Or configure via your agent's config:
// OpenClaw: ~/.openclaw/openclaw.json
{
"skills": {
"entries": {
"stock-scheme-tracker": {
"env": {
"STOCK_SCHEME_PATH": "~/Documents/stock/scheme.md"
}
}
}
}
}
If STOCK_SCHEME_PATH is not set, the skill defaults to ~/Documents/stock/scheme.md.
Verify
echo $STOCK_SCHEME_PATH
Should output your configured path
| Problem | Cause | Fix |
|---------|-------|-----|
| "No such file or directory" | STOCK_SCHEME_PATH not set or points to invalid path | Set env var or rely on default ~/Documents/stock/scheme.md |
| Strategy not found during check | Scheme file is empty or format is corrupted | Verify the file uses the format in references/scheme_format.md |
| Duplicate entries for same stock | Save mode ran twice without updating | The script auto-detects duplicates; if using manual edit, follow the update convention |
| Chinese characters garbled in output | Terminal encoding mismatch | Ensure your terminal uses UTF-8 (export LANG=en_US.UTF-8 or zh_CN.UTF-8) |
clawhub install stock-scheme-tracker