xray
深度分析统一入口。处理概念、英文单词、URL 页面、研究论文、项目/创业透视审查。用户要求分析论文、解释单词、拆网页、评估项目或"帮我想想这个"时使用。
Best use case
xray is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
深度分析统一入口。处理概念、英文单词、URL 页面、研究论文、项目/创业透视审查。用户要求分析论文、解释单词、拆网页、评估项目或"帮我想想这个"时使用。
Teams using xray should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/xray/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How xray Compares
| Feature / Agent | xray | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
深度分析统一入口。处理概念、英文单词、URL 页面、研究论文、项目/创业透视审查。用户要求分析论文、解释单词、拆网页、评估项目或"帮我想想这个"时使用。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Xray 你是 `Cognitive_Xray`,一个统一入口的深度分析 skill。任务不是泛泛总结,而是先识别输入类型,再调用最匹配的分析流程,给出能直接消费的结果。 ## 路由 按顺序判断,命中即停。 1. **项目透视** — 提到 `xray-product`;说"帮我想想这个""我有个想法""这值得做吗""做创业/项目审查/产品透视";在目标不清时要写代码前,主动建议先走此模式。只产出设计文档和决策建议,不写代码、不搭脚手架。 2. **论文** — 提到 `xray-paper`;输入是 arXiv 编号/URL/PDF、本地 PDF、论文标题。arXiv 链接虽是 URL,仍优先走此模式。无链接仅有标题时也走此模式,先搜索。 3. **单词** — 提到 `xray-word`;输入是单个英文单词,想知道词义/词源/语感。多词短语、中文概念不走此模式。 4. **URL** — 输入含 `http://` 或 `https://`;要求总结/提取/分析网页。用户明确说"按论文方式读"则走论文模式。 5. **概念** — 兜底。其他概念、术语、想法、方法论、抽象词。 ## 边界规则 - 项目透视模式只产出设计文档和决策建议,不写代码、不搭脚手架 - arXiv 链接虽然是 URL,仍然优先走论文模式 - 多词英语短语默认不走单词模式,除非用户明确说要分析这个词组 - 用户给了 URL 但明确说"按论文方式读",走论文模式 - 用户只给论文标题没有链接,也走论文模式,必要时先搜索 - 用户要求"解释一个词",但对象是中文概念或英文多词短语,走概念模式 - 显式请求与输入形态冲突时,显式请求优先 ## 输出规则 - 默认直接在对话中输出 Markdown,不保存文件(除非明确要求) - 只用纯 ASCII 绘图,不用 Unicode 绘图字符 - 输出须有结论、有结构、有压缩,不止于平铺摘要 - 不要为了凑格式硬造洞见。没有认知碰撞就直接写没有 - 只读取当前模式对应的 reference,不加载其他模式说明 ## 模式入口 | 模式 | Reference | |------|-----------| | 项目透视 | [references/product.md](references/product.md) | | 论文 | [references/paper.md](references/paper.md) | | 单词 | [references/word.md](references/word.md) | | URL | [references/url.md](references/url.md) | | 概念 | [references/concept.md](references/concept.md) | ## 快速示例 - `/xray 熵` → 概念模式 - `/xray serendipity` → 单词模式 - `/xray https://example.com/article` → URL 模式 - `/xray 2601.01290` → 论文模式 - `/xray 帮我拆这篇论文 https://arxiv.org/abs/...` → 论文模式 - `/xray 帮我想想这个产品想法` → 项目透视模式
Related Skills
voice-inference-optimization
语音推理优化参考技巧库。当用户提问与语音推理、语音 AI 性能、实时语音系统延迟、ASR/TTS 优化相关时触发。包含 RTF、流式 pipeline、VAD、量化、模型选型等实战技巧。即使用户只是问"怎么让语音更快"、"TTS 延迟太高怎么办"、"ASR 流式怎么做"也应触发。
simd-optimization
SIMD (Single Instruction Multiple Data) 优化技巧知识库,蒸馏自 Daniel Lemire 博客(lemire.me/blog) 的数百篇性能工程文章与研究论文。覆盖 x86 (SSE/AVX2/AVX-512) 和 ARM (NEON/SVE2) 的实战优化 模式、代码范例与性能直觉。当用户提问涉及 SIMD 向量化、性能优化、数据并行、字节解析、 JSON/文本/UTF-8/base64 加速、位图操作、整数压缩、prefix sum、字符串扫描、 类型转换加速时触发。也适用于"为什么我的循环慢"、"如何用 intrinsic 优化"、"AVX vs NEON" 等问题。只要涉及批量数据处理性能就应优先查阅本 skill。
nsight-compute
使用 Nsight Compute 对 CUDA kernel 进行性能分析和优化的完整指南。 当用户提到 CUDA 性能分析、kernel 调优、ncu 命令、profiler 数据解读、 瓶颈诊断、SOL 指标、占用率分析、DRAM Throughput、L1/L2 Cache Throughput、 Compute Throughput、Roofline 图、Warp Stall、Memory Chart、Section Sets、 Scheduler Statistics、Warp State、Branch Divergence、Register Spilling 等话题时, 主动使用此 skill。也适用于用户粘贴 ncu 输出数据需要解读的场景。 资料来源:NVIDIA 官方文档 2026.1、Kernel Profiling Guide、NERSC Roofline 文档。
knowledge-distillation
Expert-level knowledge about AI/ML knowledge distillation — a training paradigm where a student model learns from a teacher model. Use this skill whenever the user asks about knowledge distillation, teacher-student learning, model compression via distillation, soft targets, KD loss, on-policy distillation, off-policy distillation, self-distillation, multi-teacher distillation, sequence-level KD, GKD (Generalized Knowledge Distillation), OPD (On-Policy Distillation), MOPD (Multi-Teacher On-Policy Distillation), OPSD (On-Policy Self-Distillation), DistilBERT, soft labels, temperature scaling, KL divergence in distillation, or any RL–distillation hybrid method. Also trigger when asked about compressing large LLMs into smaller ones, transferring capabilities from frontier models, exposure bias in autoregressive models fixed via student rollouts, or synthetic data pipelines for model training.
gpu-glossary
GPU 术语速查手册,基于 Modal GPU Glossary(CC BY 4.0)。当用户提问涉及 GPU 硬件结构、CUDA 编程模型、GPU 性能分析、内核优化、内存带宽、屋顶线模型、 SM 占用率、Warp 分化、算术强度等概念时触发。也适用于"为什么我的 kernel 慢"、 "compute-bound 和 memory-bound 怎么区分"等实际调优问题。
complexity-optimizer
Analyze a software codebase for algorithmic complexity and performance hotspots, then propose or implement safe optimizations without breaking behavior. Use when Codex is asked to scan many files, find inefficient loops, nested iteration, repeated scans, costly rendering/recomputation, N+1 queries, avoidable O(n^2) or O(n) operations, or reduce complexity such as O(n^2) to O(n log n) / O(n), while preserving tests, APIs, outputs, and maintainability.
teach
Teach the user a new skill or concept, within this workspace.
refactor
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.
feedly-daily
每日自动化阅读 Feedly Today 文章、标记已读、生成中文总结报告。当用户说"打开 Feedly 看新闻"、"帮我看今天的 Feedly"、"获取 Feedly 文章"、"标记 Feedly 已读"、"生成今日阅读报告"、"总结今天的技术新闻"时使用此 skill。
deploying-xray-nodes
Deploys TCP Trojan proxy nodes on Xray-core with certbot Let's Encrypt or self-signed EC P-256 + SHA-256 certificate fingerprint pinning, TCP Fast Open kernel tuning with BBR, nginx-compatible fallback site, gRPC user sync (not HTTP auth callback), and systemd hardening with strict filesystem isolation. Use when deploying a Trojan node on Xray, pinning a self-signed cert fingerprint, configuring TCP Fast Open, or setting up the Xray gRPC stats API. Not for Hysteria2 — see deploying-hy2-nodes.
bdistill-behavioral-xray
X-ray any AI model's behavioral patterns — refusal boundaries, hallucination tendencies, reasoning style, formatting defaults. No API key needed.
swe-cli-skills
Senior engineer CLI expertise for AI agents — workflows, safety guardrails, gotchas, and anti-patterns across cloud, IaC, containers, databases, dev tools, and platforms