ask-panel
Add an Ask panel to any HTML report, page or artifact you show the user, so they ask questions in the page and the page's own Claude answers, never the…
Skill by ritamgh
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ritamgh-ask-panel
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ask-panel
What's inside
- Skill name
ask-panel- Description
- Add an Ask panel to any HTML report, page or artifact you show the user, so they ask questions in the page and the page's own Claude answers, never the session that made it. Use whenever you publish or open an HTML report, page or artifact for the user, and when they say "add ask", "ask questions from the page" or want to question a report.
- License
- MIT
- Instructions
- 30 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (7)
- SKILL.md
- ask-panel.css · assets/
- ask-panel.js · assets/
- ask-open · scripts/
- inject.py · scripts/
- test-panel.mjs · scripts/
- fake-claude.py · scripts/testdata/
SKILL.md (first lines)
# Ask panel
An "Ask" button (bottom right) opens a side panel on the page: question box, Haiku/Sonnet toggle, streamed answers, follow-ups in one thread, Stop, and select-text-then-"Ask about this" to quote a passage. One widget, two backends picked at runtime:
| Where the page is | Backend | Answers |
|---|---|---|
| claude.ai artifact | `claude.use("sample")`, on the viewer's own Claude | from the page text |
| served by `ask-open` | lens `serve.py` (`claude -p`, read-only) | page text, plus files in `--repo` |
| plain `file://` | none: the button never appears | n/a |
## Steps
1. **Publish as an Artifact:** `python3 ~/.claude/skills/ask-panel/scripts/inject.py report.html` (in place, or `-o out.html`), then publish that file with `capabilities: {sample: {}}`. Load the `artifact-capabilities` skill first, as for any capability.
2. **Show locally:** `~/.claude/skills/ask-panel/scripts/ask-open report.html [--repo DIR]`. It injects, starts the server and opens the browser. It runs until Ctrl-C, so start it as a background command. It serves only that report, on its own port. It gives the opened page the lens key, so only open trusted reports with it.
3. Tell the user the page has an Ask button. That is the whole handoff.
## Rules
- **Questions about the page belong in the page's panel.** Do not answer them in the session, and do not offer artifact comments for Q&A (comments route back to the session). If a question needs real work (code changes, new investigation), that is a new task, not a panel question.
- Inject is idempotent, and skips lens lessons (they have their own Ask).
- Artifact mode calls `sample` only on a click, never on load. `not_granted` and the other permanent codes hide the panel.
- Model text is rendered with DOM nodes only, never as HTML.
## Files
`assets/ask-panel.js`, `assets/ask-panel.css` (the widget, inlined by inject.py), `scripts/inject.py`, `scripts/ask-open`. The local backend is `~/.claude/skills/lens/scripts/serve.py`; it answers `POST /__lens/ask` with `mode: "report"` for pages that are not lens lessons.
Tests: `node ~/.claude/skills/ask-panel/scripts/test-panel.mjs` (Playwright, fake claude, no network), plus `python3 ~/.claude/skills/lens/scripts/test-serve.py` for the server.From ritamgh/claude-skills, MIT.
More from ritamgh/claude-skills
- 0.570score
orchestrate
ritamgh
Deep mode a lead (the main session or a crew sub-lead) switches into on its own when a task needs several workers, waves, or a verify/fix loop.
SkillAFreshness: AClaude Code +9 - 0.570score
shape
ritamgh
The single entry point for planning.
SkillAFreshness: AClaude Code +9 - 0.566score
lens
ritamgh
Interactive code and architecture explainer.
SkillAFreshness: AClaude Code +9 - 0.565score
evidence-contract
ritamgh
Automatically apply an evidence contract whenever creating, reviewing, or revising a nontrivial implementation plan, before substantial code edits begin.
SkillAFreshness: AClaude Code +9 - 0.565score
prd-review
ritamgh
Review a teammate's PRD on a GitHub pull request and post the review as one structured PR review, so the PRD owner's plan page imports it as anchored comments.
SkillAFreshness: AClaude Code +9 - 0.565score
project-context
ritamgh
Maintain a concise, trustworthy PROJECT_CONTEXT.md map for a software repository.
SkillAFreshness: AClaude Code +9 - 0.565score
crew
ritamgh
Dispatcher mode for the main session.
SkillAFreshness: AClaude Code +9 - 0.565score
idea-research
ritamgh
Deep, web-verified research that compares a set of ideas (1-8) against criteria and pass/fail gates - fact-checked dossiers, a gap round, an evaluator panel…
SkillAFreshness: AClaude Code +9 - 0.565score
jcode-workers
ritamgh
Use jcode (OpenAI gpt-6.1-sol; gpt-6-astra only when strictly necessary) as a worker pool via ~/.claude/bin/jw — jw ask for exploration and second opinions…
SkillAFreshness: AClaude Code +9 - 0.561score
graphify
ritamgh
Build and query a local code map (graph of files, functions, calls) with the graphify CLI.
SkillAFreshness: AClaude Code +9 - 0.561score
recall
ritamgh
Search past Claude Code transcripts on this machine (all projects) with `recall`.
SkillAFreshness: AClaude Code +9 - 0.553score
crew-diff
ritamgh
Open a crew task's branch, or the uncommitted changes, in diffview.nvim next to this pane.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 18, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ritamgh/claude-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ritamgh
- 0.570score
orchestrate
ritamgh
Deep mode a lead (the main session or a crew sub-lead) switches into on its own when a task needs several workers, waves, or a verify/fix loop.
SkillAFreshness: AClaude Code +9 - 0.570score
shape
ritamgh
The single entry point for planning.
SkillAFreshness: AClaude Code +9 - 0.566score
lens
ritamgh
Interactive code and architecture explainer.
SkillAFreshness: AClaude Code +9 - 0.565score
evidence-contract
ritamgh
Automatically apply an evidence contract whenever creating, reviewing, or revising a nontrivial implementation plan, before substantial code edits begin.
SkillAFreshness: AClaude Code +9 - 0.565score
prd-review
ritamgh
Review a teammate's PRD on a GitHub pull request and post the review as one structured PR review, so the PRD owner's plan page imports it as anchored comments.
SkillAFreshness: AClaude Code +9 - 0.565score
project-context
ritamgh
Maintain a concise, trustworthy PROJECT_CONTEXT.md map for a software repository.
SkillAFreshness: AClaude Code +9
Cite this page
ask-panel skill. Agent Mart. https://agentmart.dev/skills/ritamgh-ask-panel (last updated 2026-10-24)