Agent skill

Prompt Xray

by huangserva in huangserva/skill-prompt-generator

“提示词X光透视 - 从优秀提示词中逆向提取"如何做X"的知识,让黑盒变透明”

— description from SKILL.md by huangserva
No licenceAuto-check passed

Install Prompt Xray

skills CLI
$ npx skills add huangserva/skill-prompt-generator --skill prompt-xray -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install huangserva/skill-prompt-generator prompt-xray --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/huangserva/skill-prompt-generator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/prompt-xray .claude/skills/prompt-xray && rm -rf skills-src

Use ~/.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/

Facts

Skill name
prompt-xray
GitHub stars
1.5k
Token cost
~1.9k tokens
SKILL.md length
258 words
Files
3
Skills in repo
12
Repo updated
First seen
Licence
None found

At a glance

  • Works in 7 steps: 读取数据 → 按维度分析 → 生成知识卡片 → …
  • SKILL.md covers 🎯 解决的问题, 📋 使用方式, 🔄 执行流程 and 📝 输出模板, plus 5 more sections
  • Runs Python scripts from its folder

About this skill

Prompt Xray is a skill in huangserva/skill-prompt-generator (1.5k stars). Its SKILL.md is about 1.9k tokens, with 2 other files in the folder. No licence found.

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. 读取数据
  2. 按维度分析
  3. 生成知识卡片
  4. 寻找规律,不是罗列
  5. 提取技巧,不是描述
  6. 给出案例,可直接复用
  7. 学习优秀,也学习错误

What it can do on your machine

Read from SKILL.md and the folder at commit e951249. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Prompt Xray loads about 1.9k tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 258 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

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.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated 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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 258 words (~1,893 tokens).

name
prompt-xray

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files in .codex/skills/prompt-xray of huangserva/skill-prompt-generator.

  • SKILL.md
  • README.md
  • xray_helper.py

Open the folder on GitHubat commit e951249

Compare with similar skills

Prompt Xray 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.

Prompt Xray compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prompt Xray this skillhuangserva/skill-prompt-generator1.5k—~1.9kAutomated safety check: PassNone
Xraydavekilleen/Dex494—~5.7kAutomated safety check: PassMIT
Xraymajiayu000/spellbook287—~3.4kAutomated safety check: PassMIT
Xray Scanwgpsec/AboutSecurity1.8k—~757Automated safety check: PassNone
Nature Paper XrayYuan1z0825/nature-skills47k—~1.5kAutomated safety check: PassApache-2.0
Context XrayBuilderIO/agent-native7.1k—~944Automated safety check: PassNone

Similar skills

  • Xray

    davekilleen/Dex

    Explain what just happened under the hood — the context, MCP tools, and hooks behind Dex's last response — as AI education.

    494 GitHub stars~5.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Xray

    majiayu000/spellbook

    Investigate how a concept, code path, application, network flow, system, incident, document, or local artifact actually works, then deliver a two-depth visual HTML explainer with a dead-simple…

    287 GitHub stars~3.4k tokensUpdated 2 days ago
    SecurityAuto-check passed
  • Xray Scan

    wgpsec/AboutSecurity

    使用 xray 进行 Web 漏洞自动化扫描。当需要对 Web 应用进行全面漏洞扫描(XSS/SQLi/命令注入/SSRF/XXE/路径穿越/文件上传/弱口令等)时使用。xray 是长亭科技出品的综合性 Web 安全评估工具,支持主动扫描、被动代理扫描、基础爬虫扫描三种模式,内置丰富的检测插件和社区 POC。任何涉及 xray 漏洞扫描、Web 安全评估、被动代理扫描的场景都应使用此技能

    1.8k GitHub stars~757 tokensUpdated today
    SecurityAuto-check passed
  • Nature Paper Xray

    Yuan1z0825/nature-skills

    Read one supplied paper closely enough to reconstruct how its authors actually got there, rather than restating what the abstract claims.

    47k GitHub stars~1.5k tokensUpdated today
    Research & ScienceAuto-check passed
  • Context Xray

    BuilderIO/agent-native

    Inspect and manage the live agent context window with Context X-Ray.

    7.1k GitHub stars~944 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Xray

    BuilderIO/agent-native

    Visualize local Codex and Claude Code context usage, open a report, flag warnings, and suggest prompt/tooling optimizations.

    7.1k GitHub stars~303 tokensUpdated today
    Auto-check passed

More from huangserva/skill-prompt-generator

All 12 skills in this repo
  • Design Master

    huangserva/skill-prompt-generator

    平面设计主控 - 自动生成平面设计提示词,支持海报、logo、插画等多种设计类型. An agent skill from huangserva/skill-prompt-generator.

    1.5k GitHub stars~728 tokensUpdated 5 mo ago
    Auto-check passed
  • Domain Classifier

    huangserva/skill-prompt-generator

    AI领域分类器 - 智能分析提示词内容,准确判断所属领域(人像/艺术/设计/产品/视频). An agent skill from huangserva/skill-prompt-generator.

    1.5k GitHub stars~1k tokensUpdated 5 mo ago
    Auto-check passed
  • Prompt Analyzer

    huangserva/skill-prompt-generator

    提示词分析与洞察 - 查看Prompt详情、对比差异、推荐相似提示词、元素库统计. An agent skill from huangserva/skill-prompt-generator.

    1.5k GitHub stars~2.7k tokensUpdated 5 mo ago
    Auto-check passed
  • Prompt Master

    huangserva/skill-prompt-generator

    提示词主控 - 智能选择合适的领域skill并生成提示词,支持自动领域分类和调度. An agent skill from huangserva/skill-prompt-generator.

    1.5k GitHub stars~1.8k tokensUpdated 5 mo ago
    Auto-check passed
  • Universal Learner

    huangserva/skill-prompt-generator

    通用学习器 - 从任何领域的Prompt中自动提取可复用元素,持续学习和积累知识. An agent skill from huangserva/skill-prompt-generator.

    1.5k GitHub stars~1.2k tokensUpdated 5 mo ago
    Auto-check passed
  • Art Master

    huangserva/skill-prompt-generator

    艺术风格主控 - 自动生成艺术风格提示词,支持水墨画、油画、超现实、插画等多种艺术风格. An agent skill from huangserva/skill-prompt-generator.

    1.5k GitHub stars~329 tokensUpdated 5 mo ago
    Auto-check passed

Questions about Prompt Xray

How do I install Prompt Xray in Claude Code?

Run `npx skills add huangserva/skill-prompt-generator --skill prompt-xray -a claude-code`. Or copy the skill folder (.codex/skills/prompt-xray in huangserva/skill-prompt-generator) into .claude/skills/prompt-xray in your project. Claude Code loads it when a task matches its description.

How do I install Prompt Xray in Codex?

Run `npx skills add huangserva/skill-prompt-generator --skill prompt-xray -a codex`. Or copy the skill folder (.codex/skills/prompt-xray in huangserva/skill-prompt-generator) into .agents/skills/prompt-xray in your project. Codex loads it when a task matches its description.

Can I use Prompt Xray in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huangserva/skill-prompt-generator --skill prompt-xray -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prompt-xray, .gemini/skills/prompt-xray, .github/skills/prompt-xray and .opencode/skills/prompt-xray in your project.

What does Prompt Xray need to run?

Going by SKILL.md and its folder, Prompt Xray needs Python for the scripts in its folder.

Does Prompt Xray access the network?

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.

Is Prompt Xray safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Prompt Xray use?

No licence was found for Prompt Xray or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Prompt Xray use?

About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Prompt Xray?

Skills that share tags, products or a category with Prompt Xray: Xray (davekilleen/Dex, 494 stars), Xray (majiayu000/spellbook, 287 stars), Xray Scan (wgpsec/AboutSecurity, 1.8k stars) and Nature Paper Xray (Yuan1z0825/nature-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prompt Xray?

huangserva (a GitHub user) maintains it in huangserva/skill-prompt-generator, which has 1,501 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on May 10, 2026.

Source: huangserva/skill-prompt-generator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.