inline-widget

inline-widget is a skill for Claude Code, Codex from ginlix-ai/LangAlpha. It costs 31 tokens per session (4,086 once invoked), scanned A, original, Apache-2.0.

A way to show interactive HTML or SVG widgets directly in a chat, such as charts, dashboards, and data tables. The widget can contain embedded data and controls for actions like sorting, filtering, toggling, and hovering.

In plain words
What is it for?
Use it to present quick interactive charts, metric cards, dashboards, or tables inside the conversation.
Why use it?
It avoids sending the reader to a separate page for a small, self-contained visualization. It is suited to one view rather than a multi-page application or live-data system.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to present quick interactive charts, metric cards, dashboards, or tables inside the conversation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ginlix-ai/langalpha/inline-widget
About the project

LangAlpha is an agent workspace for researching financial markets and supporting investment decisions through persistent research, news analysis, and parallel subagents. It is for investors who want to develop and update trading theses over time, including generating long-short pair-trade ideas. The catalogue entries provide the skills, instructions, MCP servers, and plugin that make up its agent workflow.

ginlix-ai/LangAlpha · 2,358 stars · on GitHub · langalpha.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ginlix-ai/LangAlpha --skill inline-widget
Clone the repo
git clone --depth 1 https://github.com/ginlix-ai/LangAlpha

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for inline-widget

README.md
[![agentmods](https://agentmods.dev/badge/skills/ginlix-ai/langalpha/inline-widget/github.svg)](https://agentmods.dev/skills/ginlix-ai/langalpha/inline-widget)
Your own site
<a href="https://agentmods.dev/skills/ginlix-ai/langalpha/inline-widget"><img src="https://agentmods.dev/badge/skills/ginlix-ai/langalpha/inline-widget/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for inline-widget

Your own site · 80×15
<a href="https://agentmods.dev/skills/ginlix-ai/langalpha/inline-widget"><img src="https://agentmods.dev/badge/skills/ginlix-ai/langalpha/inline-widget.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,086 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 52
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Agent Snooping · line 19
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.04086
Opus 5.5 $0.00012 $0.01634
Sonnet 5.5 $0.00006 $0.00817
Haiku 4.5 $0.00003 $0.00409

Measured 6d ago against content hash bdba46775d93, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

inline-widget scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/langalpha_deliverables/skills/inline-widget/SKILL.md · 249 lines

How it starts

The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Inline Widget

ShowWidget renders an HTML/SVG fragment inline in the chat, between your text. It runs JavaScript, so make it something the user can explore: sort, filter, toggle, hover, drag a slider. A static picture is the weaker answer.

When to use

  • A quick visual in the conversation: a chart, metric cards, a table, a payoff diagram, a gallery.
  • Interaction the user does in place: toggles, what-if inputs, tabs, click to enlarge.
  • A question the user answers by clicking, where seeing the data makes the choice easier (see Asking the user).
  • One view. A multi-page app or anything with a server of its own is interactive-dashboard; a document the user keeps or shares is an HTML report (html-report).

Read .agents/skills/ui-design/SKILL.md for colour discipline and chart restraint. Its font pairings and type scale are for full documents; a widget uses the host-font rules below.

What a widget can use

  • Anything a web page loads: libraries from any CDN (cdn.jsdelivr.net, esm.sh, unpkg.com, cdnjs.cloudflare.com are reliable), public APIs, remote images, Google Fonts, stylesheets, WebAssembly (DuckDB, sql.js) and Web Workers. A third-party API still needs to allow cross-origin requests; one that does not fails in the browser, so give the widget that data yourself.
  • Workspace files by relative URL, at any size: <img src="charts/q3.png">, fetch("data/bars.json"), new Worker("sim/worker.js"). Paths are relative to the workspace folder. They load only for people who can open this workspace: a public share of the thread shows the widget without them, and a downloaded copy keeps the <img> files your markup names but not what your script loads. Use URLs for images and large data, and data_files for data the widget needs wherever it is opened.
  • localStorage, kept for this widget on the user's device (about 256 KB), for state worth keeping such as a checklist or the selected tab. sessionStorage and cookies live only in one view of the widget: full screen and a reload start them empty. IndexedDB reads as absent, so keep to localStorage.
  • sendPrompt(text, data?) sends a chat message as the user, with optional JSON data (up to 32 KB) attached for you to read, so a form can hand you its values without you parsing prose.
  • draftPrompt(text, data?) adds text to the user's message box, after anything already typed there, with data attached and without sending, so the user can add to it first.
  • startThread(text, data?) opens a new thread in this workspace with text as its first message and data attached, and takes the user there, for a line of work that should not continue in this thread.
  • These three work only from a click or key press in the widget, one call per click; called on load or from a timer, they are ignored.
  • data-zoom on an <img> (or data-zoom="<url>" on any element) opens it in the app's full-screen image viewer on click.
  • Forms handled by a submit listener (a form never navigates), alert/confirm, writing to the clipboard and requestFullscreen().
  • Links: a link to another site opens in a new tab. A link to a workspace file opens nothing unless it has download, which saves the file; so does a download link to a blob: or data: URL your script makes.
  • Theme variables (below) for every colour, and a themechange event on window when the user switches theme.

Read the full file on GitHub · 249 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · -62 lines · +10 tokens per session bdba46775d93
  2. 2mo ago Changed 2ba130056e65
  3. 3mo ago First seen · 311 lines · 21 tokens per session scan A f675842f7822

Subscribe to this mod's changes

inline-widget is a skill published in the GitHub repository ginlix-ai/LangAlpha (2,358 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 4,086 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

inline-widget compared with skills from other repositories

inline-widget next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
inline-widgetginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A31Claude Code, Codex
pdfChen-zexi/open-ptc-agentSkill73110mo agoMITA50Claude Code, Codex
xlsxChen-zexi/open-ptc-agentSkill73110mo agoMITA96Claude Code, Codex
pptxChen-zexi/open-ptc-agentSkill73110mo agoMITB62Claude Code, Codex
creating-financial-modelsChen-zexi/open-ptc-agentSkill73110mo agoMITA32Claude Code, Codex
docxChen-zexi/open-ptc-agentSkill73110mo agoMITB77Claude Code, Codex
browsershibing624/agenticaSkill367yesterdayApache-2.0A71Claude Code, Codex