Debug
asgeirtj/system_prompts_leaks
Enable debug logging for this session and help diagnose issues
Diagnose an openalgo-charts problem - blank or invisible chart, bars in the wrong place, unknown series type or indicator errors, misaligned indicators, drawings that drift, a chart that will not…
$ npx skills add marketcalls/openalgo-charts --skill openalgo-chart-debug -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install marketcalls/openalgo-charts openalgo-chart-debug --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/marketcalls/openalgo-charts.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/openalgo-chart-debug .claude/skills/openalgo-chart-debug && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "openalgo-chart-debug" agent skill from https://github.com/marketcalls/openalgo-charts/tree/master/.github/skills/openalgo-chart-debug into .claude/skills/openalgo-chart-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openalgo-chart-debug", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/marketcalls/openalgo-charts/tree/master/.github/skills/openalgo-chart-debugType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add marketcalls/openalgo-charts --skill openalgo-chart-debug -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install marketcalls/openalgo-charts openalgo-chart-debug --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/marketcalls/openalgo-charts.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/openalgo-chart-debug .agents/skills/openalgo-chart-debug && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "openalgo-chart-debug" agent skill from https://github.com/marketcalls/openalgo-charts/tree/master/.github/skills/openalgo-chart-debug into .agents/skills/openalgo-chart-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openalgo-chart-debug", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add marketcalls/openalgo-charts --skill openalgo-chart-debug -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install marketcalls/openalgo-charts openalgo-chart-debug --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/marketcalls/openalgo-charts.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/openalgo-chart-debug .cursor/skills/openalgo-chart-debug && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "openalgo-chart-debug" agent skill from https://github.com/marketcalls/openalgo-charts/tree/master/.github/skills/openalgo-chart-debug into .cursor/skills/openalgo-chart-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openalgo-chart-debug", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/marketcalls/openalgo-charts.git --path .github/skills/openalgo-chart-debug--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add marketcalls/openalgo-charts --skill openalgo-chart-debug -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install marketcalls/openalgo-charts openalgo-chart-debug --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/marketcalls/openalgo-charts.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/openalgo-chart-debug .gemini/skills/openalgo-chart-debug && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "openalgo-chart-debug" agent skill from https://github.com/marketcalls/openalgo-charts/tree/master/.github/skills/openalgo-chart-debug into .gemini/skills/openalgo-chart-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openalgo-chart-debug", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install marketcalls/openalgo-charts openalgo-chart-debugInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add marketcalls/openalgo-charts --skill openalgo-chart-debug -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/marketcalls/openalgo-charts.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/openalgo-chart-debug .github/skills/openalgo-chart-debug && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "openalgo-chart-debug" agent skill from https://github.com/marketcalls/openalgo-charts/tree/master/.github/skills/openalgo-chart-debug into .github/skills/openalgo-chart-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openalgo-chart-debug", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add marketcalls/openalgo-charts --skill openalgo-chart-debug -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install marketcalls/openalgo-charts openalgo-chart-debug --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/marketcalls/openalgo-charts.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/openalgo-chart-debug .opencode/skills/openalgo-chart-debug && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "openalgo-chart-debug" agent skill from https://github.com/marketcalls/openalgo-charts/tree/master/.github/skills/openalgo-chart-debug into .opencode/skills/openalgo-chart-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openalgo-chart-debug", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
openalgo-chart-debugDiagnose an openalgo-charts problem - blank or invisible chart, bars in the wrong place, unknown series type or indicator errors, misaligned indicators, drawings that drift, a chart that will not…
Openalgo Chart Debug is an agent skill from marketcalls/openalgo-charts. Diagnose an openalgo-charts problem - blank or invisible chart, bars in the wrong place, unknown series type or indicator errors, misaligned indicators, drawings that drift, a chart that will not repaint or resize, live ticks not appearing, linked charts out of step, stale cached prices, an unknown interval code, or a broken bundle import. Use when a chart is not behaving as expected.
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Production-grade charts built for brokers, exchanges, trading platforms, and financial portals. Bring your own market data, plug it in, and deliver a complete charting experience… The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8b4cffe. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadBashGlobGrepFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
rgnodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Openalgo Chart Debug loads about 2.1k tokens when it runs. Until then it costs about 102 tokens; SKILL.md has 1,112 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Bash, Glob, GrepAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from marketcalls/openalgo-charts at commit 8b4cffe, republished under its Apache-2.0 licence (© marketcalls). 1,112 words, ~2,141 tokens.
.claude/skills/openalgo-chart-debug/SKILL.md (or your agent's skills folder).Diagnose before changing anything. Most openalgo-charts bugs are one of a small set of known causes, and guessing at a fix usually adds a second bug on top of the first.
node -p "require('./node_modules/openalgo-charts/package.json').version" 2>/dev/null || echo "not a consumer app"
rg -n "from 'openalgo-charts" src app --glob '!node_modules'You need the version and the exact set of tier imports before you can reason about anything. Never diagnose from memory of the API.
| Symptom | First suspect | Confirm |
|---|---|---|
| Nothing renders, no error | container has zero height | inspect the element's computed height |
Nothing renders after setData | data is empty, or times are not numbers | log series.getData().length and the first item |
| Bars bunched at the far left or right | time is in milliseconds | a value above 1e12 is milliseconds |
| Bars overlap or a candle draws twice | two bars share a time | times must be unique and ascending per series |
| Axis and crosshair show the wrong hours | the chart is on its default zone, Asia/Kolkata | chart.timezone(); set timezone or call setTimezone |
| VWAP restarts mid-afternoon, or a pivot frame spans two sessions | the chart's zone is not the instrument's | chart.timezone(); a timeFormatter relabels but does not move the calendar |
unknown series type "kagi" | transform tier not imported | rg "openalgo-charts/transform" |
addIndicator throws | indicators tier not imported | rg "openalgo-charts/indicators" |
| A tier is imported but its feature is missing | deep import created a second registry | check for any path containing /dist/ or /src/ in an import |
| Indicator plots misaligned with price | indicator on a different data set, or bar times differ | compare the first and last bar times |
| Series fills or is squashed into part of the pane | price-scale margins | margins are fractions of pane height, not data span |
| A volume overlay swallows the price series | overlay scale margins | priceScaleId: '' plus marginTop |
| Drawings drift after zoom or a session gap | anchors stored in pixels | anchors must be { time, price } |
| A drawing shortcut does nothing | the library installs no key listener | the host must call matchDrawingShortcut |
| Chart does not resize | no ResizeObserver, or container is not measurable | call chart.applySize(w, h) manually |
| Custom primitive is blurry or offset | media px not multiplied by dpr | inspect the draw implementation |
| Live ticks never appear | subscription filter, or the builder was never seeded | log inside the tick handler before the builder |
| Live candle duplicates the last history bar | builder started unseeded | pass seedFrom: lastHistoryBar |
| Hidden-tab chart opens at the wrong zoom | old initial-size handling or an explicit host fit | 2.1.3 defers its first fit; inspect applySize, navigation.defaultVisibleBars and later host writes |
| Drawing preview disappears past the last candle, or a future freehand stroke is discarded | no hovered bar time in empty chart space | 2.1.5 maps the pointer through coordinateToTime; custom drawing hosts must provide it. Keep candle/tooltip time null where no bar exists |
| Plot drags stop vertical movement | explicit or saved horizontal preference, including a 2.1.3 layout | 2.1.4 defaults to 'both'; select Axes > Mouse drag > Time and price or set navigation.mousePan: 'both', preserving other preferences |
| Time-axis drag behaves differently on one page | stale copied or bundled runtime | left expands, right compresses; compare deployed bundle hashes and run the website navigation check |
| Replay suddenly reveals future bars | a host history/polling/reconnect writer bypasses replay | inspect every setData, update and prependData; see host integration |
| Old symbol data or resources return after closing | stale async continuation | verify generation, chart identity and disposed state after every await |
| Custom indicator intermittently missing on a split pane | registration marked ready before imports finish | await one shared pending registration promise |
| Chart snaps to the right edge on every update | setData called per tick | use series.update(bar) |
| Viewport jumps when older history loads | re-fitting after prepend | prependData preserves the window; do not fitContent |
| A linked crosshair marks the wrong bar | a logical index was copied between charts | it lines up only while both charts hold identical bars; the sync must convert index to time and back |
| Linked charts show different periods after a pan | the same index copy, on the viewport | use the group, or followerRange, never setVisibleLogicalRange(other.getVisibleLogicalRange()) |
| A linked chart shows no crosshair at all | the instant is outside its coverage, or whenMissing: 'hide' | group.crosshairIndex(chart) returns null; an instant past its first/last bar is refused by design |
| Symbol sync changes nothing | no onSymbol on the member, or the host never reports the change | the engine has no instrument concept; check both halves |
| The last price is stale after switching symbols and back | a cache serving the forming bar | withBarCache never stores it; a hand-rolled cache usually does |
| Every load is cold out of hours | to is "now", past the entry's coverage | cap to at the newest bar the session table says can exist |
UnknownIntervalError at subscribe time | the interval code is not built in and was never registered | it is the intended behaviour, not a regression; registerInterval or fix the code |
| A monthly chart buckets into minutes | intervalToSeconds on a calendar code | it throws now; use resolveInterval + bucketStartOf |
| A cut deleted nothing, or copied "into the void" | the async result was not awaited | await draw.cut() and check the boolean; read draw.clipboard().lastError() |
| Orders do not reach the broker | wrong layer | chart.trading is visualization only |
| Blank page in Next.js or SSR | chart created during server render | client-only component, create in an effect |
| Bare specifier fails in the browser | no bundler resolution | a path into dist/, an import map, or the script-tag files |
openalgo-charts.<tier>.standalone.js needs ... loaded before it | a script-tag tier loaded before the base, or the widget before the draw tier | load the files in the order the message names, each once |
ERR_REQUIRE_ESM from require('openalgo-charts') | a Node older than 20.19 or 22.12 cannot require ESM | await import('openalgo-charts'), or a newer Node |
pitfalls has the full verified list with the reason behind each. Host integration covers request ownership, replay and lifecycle checks.
The library throws named errors that identify the cause precisely rather than failing silently. Quote the exact message back to the user; it usually names the missing tier or the unknown id. Do not paraphrase it.
Strip to a chart, one series, and static bars. If that renders, add back one thing at a time. This resolves ambiguous cases faster than reading more of the host's code.
import { createChart, generateBars } from 'openalgo-charts';
const chart = createChart(el);
chart.addSeries('candlestick').setData(generateBars(1700000000, 200, 3600));
chart.fitContent();If generateBars renders and the user's data does not, the bug is in the data, not the chart.
State the cause, the evidence you have for it, and the one-line fix. If you could not reproduce or could not confirm the cause, say so rather than offering a speculative fix - a wrong fix to a charting bug is expensive to unwind.
Do not apply changes unless the user asked you to fix it, not just diagnose it.
© marketcalls, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/openalgo-chart-debug of marketcalls/openalgo-charts.
Open the folder on GitHubat commit 8b4cffe
Openalgo Chart Debug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Openalgo Chart Debug this skillmarketcalls/openalgo-charts | 144 | — | ~2.1k | Automated safety check: Notes | Apache-2.0 | |
| Debugasgeirtj/system_prompts_leaks | 69k | — | ~439 | Automated safety check: Pass | CC0-1.0 | |
| Openclaw Debuggingopenclaw/openclaw | 392k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Debugging Executionsn8n-io/n8n | 207k | — | ~2.6k | Automated safety check: Pass | Custom licence | |
| DebuggingJetBrains/intellij-community | 21k | — | ~422 | Automated safety check: Pass | Custom licence | |
| Debugging Toolkitsickn33/agentic-awesome-skills | 47k | 1 repos | ~344 | Automated safety check: Pass | MIT |
asgeirtj/system_prompts_leaks
Enable debug logging for this session and help diagnose issues
openclaw/openclaw
Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code, including fetching stored…
n8n-io/n8n
Debug failed or wrong-output workflow executions using executions tools.
JetBrains/intellij-community
Debug IntelliJ IDE failures with repository-specific techniques.
sickn33/agentic-awesome-skills
A skill your agent uses when working with debugging toolkit smart debug (Alias for debugging-toolkit-smart-debug)
vercel/next.js
Debug and verification workflow for runtime-bundle and module-resolution regressions.
marketcalls/openalgo-charts
Add a built-in openalgo-charts indicator, restyle it, build a settings UI from its descriptor, or author a custom indicator with registerIndicator or the Tier-2 external-data contract.
marketcalls/openalgo-charts
Extend openalgo-charts with a custom primitive, drawing tool, chart type, or indicator descriptor.
marketcalls/openalgo-charts
Scaffold a working openalgo-charts chart in an existing project - detects the host (React, Next.js, Vue, vanilla bundler, or plain script tag), installs the right tiers, and writes a chart that…
marketcalls/openalgo-charts
Build a full trading terminal on openalgo-charts - symbol search, interval switcher, chart-type picker, indicator menu, drawing rail with clipboard, live OpenAlgo REST plus WebSocket data behind a…
marketcalls/openalgo-charts
A skill your agent uses when building, configuring, extending or debugging openalgo-charts in a consumer app or the source repository, including chart navigation, drawing tools, indicators…
Diagnose an openalgo-charts problem - blank or invisible chart, bars in the wrong place, unknown series type or indicator errors, misaligned indicators, drawings that drift, a chart that will not…. Openalgo Chart Debug is an agent skill from marketcalls/openalgo-charts. Diagnose an openalgo-charts problem - blank or invisible chart, bars in the wrong place, unknown series type or indicator errors, misaligned indicators, drawings that drift, a chart that will not repaint or resize, live ticks not appearing, linked charts out of step, stale cached prices, an unknown interval code, or a broken bundle import.
Openalgo Chart Debug fits situations like: A chart is not behaving as expected.
Run `npx skills add marketcalls/openalgo-charts --skill openalgo-chart-debug -a claude-code`. Or copy the skill folder (.github/skills/openalgo-chart-debug in marketcalls/openalgo-charts) into .claude/skills/openalgo-chart-debug in your project. Claude Code loads it when a task matches its description.
Run `npx skills add marketcalls/openalgo-charts --skill openalgo-chart-debug -a codex`. Or copy the skill folder (.github/skills/openalgo-chart-debug in marketcalls/openalgo-charts) into .agents/skills/openalgo-chart-debug in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add marketcalls/openalgo-charts --skill openalgo-chart-debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openalgo-chart-debug, .gemini/skills/openalgo-chart-debug, .github/skills/openalgo-chart-debug and .opencode/skills/openalgo-chart-debug in your project.
Going by SKILL.md and its folder, Openalgo Chart Debug needs the command-line tools its instructions call (rg and node). Its frontmatter pre-approves these tools: Read, Bash, Glob, Grep.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Openalgo Chart Debug is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Openalgo Chart Debug: Debug (asgeirtj/system_prompts_leaks, 69k stars), Openclaw Debugging (openclaw/openclaw, 392k stars), Debugging Executions (n8n-io/n8n, 207k stars) and Debugging (JetBrains/intellij-community, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
marketcalls (a GitHub user) maintains it in marketcalls/openalgo-charts, which has 144 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 1, 2026.
Source: marketcalls/openalgo-charts on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.