Answer the user's question, save a styled HTML page to `~/claude.nosync/questions/`, open it in the browser, and print the answer to stdout.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Answer the user's question, save a styled HTML page to ~/claude.nosync/questions/, open it in the browser, and print the answer to stdout.
Answer the question thoroughly and accurately.
Create the output directory if it doesn't exist:
mkdir -p ~/claude.nosync/questions
Generate the filename using today's date and a summarized slug:
YYYY-MM-DD-<slug>.html2026-02-09-improve-zshrc-q-function.html2026-02-09-tcp-vs-udp-difference.html2026-02-09-css-center-div.html2026-02-09-whats-2-plus-2.htmlWrite a styled HTML file to ~/claude.nosync/questions/<filename> using the Write tool. The HTML must include:
<h1> header<script type="text/plain" id="raw-answer"> element (HTML-escape <, >, and & in the answer)marked.js and sanitized with DOMPurify before inserting into the DOM<script> tags):
https://cdn.jsdelivr.net/npm/marked/marked.min.js - markdown renderinghttps://cdn.jsdelivr.net/npm/dompurify/dist/purify.min.js - HTML sanitizationhttps://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js - code highlightinghttps://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css - code theme<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Q: {{QUESTION}}</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #0d1117; color: #e6edf3;
max-width: 820px; margin: 0 auto; padding: 2rem 1.5rem;
line-height: 1.7;
}
h1.question {
font-size: 1.6rem; color: #58a6ff; margin-bottom: 1.5rem;
padding-bottom: 1rem; border-bottom: 1px solid #30363d;
}
#content { font-size: 1.05rem; }
#content h1, #content h2, #content h3 { color: #58a6ff; margin: 1.5rem 0 0.75rem; }
#content h1 { font-size: 1.5rem; }
#content h2 { font-size: 1.3rem; }
#content h3 { font-size: 1.15rem; }
#content p { margin-bottom: 1rem; }
#content ul, #content ol { margin: 0.5rem 0 1rem 1.5rem; }
#content li { margin-bottom: 0.4rem; }
#content pre {
background: #161b22; border: 1px solid #30363d; border-radius: 8px;
padding: 1rem; overflow-x: auto; margin: 1rem 0;
}
#content code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.9em; }
#content p code, #content li code {
background: #161b22; padding: 0.2em 0.4em; border-radius: 4px;
}
#content blockquote {
border-left: 3px solid #58a6ff; padding-left: 1rem;
color: #8b949e; margin: 1rem 0;
}
#content a { color: #58a6ff; text-decoration: none; }
#content a:hover { text-decoration: underline; }
#content table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
#content th, #content td {
border: 1px solid #30363d; padding: 0.5rem 0.75rem; text-align: left;
}
#content th { background: #161b22; }
.copy-btn {
position: fixed; top: 1.5rem; right: 1.5rem;
background: #238636; color: #fff; border: none;
padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer;
font-size: 0.85rem; font-weight: 500; transition: background 0.2s;
}
.copy-btn:hover { background: #2ea043; }
.copy-btn.copied { background: #1f6feb; }
</style>
</head>
<body>
<button class="copy-btn" onclick="copyAnswer()">Copy Answer</button>
<h1 class="question">{{QUESTION}}</h1>
<div id="content"></div>
<script type="text/plain" id="raw-answer">
{{ANSWER_MD_HTML_ESCAPED}}
</script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dompurify/dist/purify.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script>
const raw = document.getElementById('raw-answer').textContent.trim();
marked.setOptions({ highlight: function(code, lang) {
if (lang && hljs.getLanguage(lang)) return hljs.highlight(code, { language: lang }).value;
return hljs.highlightAuto(code).value;
}});
document.getElementById('content').innerHTML = DOMPurify.sanitize(marked.parse(raw));
function copyAnswer() {
navigator.clipboard.writeText(raw).then(function() {
var btn = document.querySelector('.copy-btn');
btn.textContent = 'Copied!'; btn.classList.add('copied');
setTimeout(function() { btn.textContent = 'Copy Answer'; btn.classList.remove('copied'); }, 2000);
});
}
</script>
</body>
</html>
Critical: The {{QUESTION}} and {{ANSWER_MD_HTML_ESCAPED}} are placeholders. Replace them with actual content. HTML-escape <, >, and & characters in the answer when placing it inside the <script type="text/plain"> element.
Security note: The rendered HTML is sanitized through DOMPurify before DOM insertion, preventing XSS.
Open in browser:
open ~/claude.nosync/questions/<filename>
Print the answer to stdout as well (the raw markdown text, so it appears in the terminal).
Bash, Write, Read, Glob, Grep
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
40 skills in this plugin
/ai-prsList all open PRs targeting the Studio AI command with draft status, approval state, and requested reviewers/ai-radarUse when Antonio wants to catch up on frontier AI — "what's new in AI", "AI radar", "what is karpathy working on", "AI trends", "research digest", "what should I learn next", "where to invest learning time", or /ai-radar./blog-postThis skill should be used when the user asks to "write a blog post", "draft a blog post", "create a blog post", "write an article about", or wants to produce a markdown blog post on any topic. Outputs to ~/claude.nosync/posts/./sejas-ai-code-skills:questionfrom sejas-ai-code-skills
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /sejas-ai-code-skills:question still runs it.
sejas-ai-code-skills@cascade-code-general-misc-3 is listed by joshuarweaver/cascade-code-general-misc-3 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin sejas-ai-code-skills