civil-engineering-cloud-cla.../03-claude-code-runnable/xiaohongshu/p5-commands.html

75 lines
5.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { width: 1080px; height: 1440px; font-family: 'PingFang SC', 'Noto Sans SC', sans-serif; background: #0a0e17; overflow: hidden; position: relative; }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(251,146,60,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(251,146,60,0.03) 1px, transparent 1px); background-size: 40px 40px; }
.glow { position: absolute; width: 500px; height: 500px; top: -80px; left: -80px; background: radial-gradient(circle, rgba(251,146,60,0.12), transparent 70%); border-radius: 50%; }
.glow2 { position: absolute; width: 350px; height: 350px; bottom: 50px; right: -50px; background: radial-gradient(circle, rgba(245,158,11,0.08), transparent 70%); border-radius: 50%; }
.content { position: relative; z-index: 10; padding: 70px 65px; height: 100%; display: flex; flex-direction: column; }
.page-num { font-size: 20px; color: rgba(255,255,255,0.25); letter-spacing: 2px; margin-bottom: 20px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; border-radius: 30px; font-size: 22px; font-weight: 700; margin-bottom: 30px; width: fit-content; background: rgba(251,146,60,0.12); border: 1.5px solid rgba(251,146,60,0.4); color: #fb923c; }
.title { font-size: 58px; font-weight: 900; color: white; line-height: 1.2; margin-bottom: 12px; }
.accent { background: linear-gradient(135deg, #fb923c, #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.desc { font-size: 28px; color: rgba(255,255,255,0.45); margin-bottom: 35px; line-height: 1.5; }
.card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 28px 36px; margin-bottom: 18px; }
.card-title { font-size: 23px; font-weight: 700; color: #fb923c; margin-bottom: 14px; letter-spacing: 1px; }
.card-body { font-size: 25px; color: rgba(255,255,255,0.75); line-height: 1.7; }
.hl { display: inline; padding: 2px 10px; border-radius: 6px; background: rgba(251,146,60,0.12); color: #fb923c; font-family: 'SF Mono', monospace; font-size: 22px; }
.feature-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.feat-item { padding: 12px 20px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); font-family: 'SF Mono', monospace; font-size: 21px; color: rgba(255,255,255,0.6); }
.section-label { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.3); letter-spacing: 2px; margin: 18px 0 10px; }
.footer-note { position: absolute; bottom: 50px; left: 65px; right: 65px; font-size: 20px; color: rgba(255,255,255,0.2); text-align: center; }
</style>
</head>
<body>
<div class="bg-grid"></div><div class="glow"></div><div class="glow2"></div>
<div class="content">
<div class="page-num">05 / 07</div>
<div class="badge">HIDDEN · 26+ 命令</div>
<div class="title"><span class="accent">隐藏命令 &</span></div>
<div class="title"><span class="accent">秘密环境变量</span></div>
<div class="desc">在源码中发现的未公开命令和调试开关</div>
<div class="card">
<div class="card-title">HIDDEN SLASH COMMANDS</div>
<div class="feature-grid">
<div class="feat-item">/buddy pet</div><div class="feat-item">/ultraplan</div><div class="feat-item">/dream</div><div class="feat-item">/fork</div><div class="feat-item">/peers</div><div class="feat-item">/subscribe-pr</div><div class="feat-item">/teleport</div><div class="feat-item">/force-snip</div><div class="feat-item">/summary</div><div class="feat-item">/rewind</div><div class="feat-item">/good-claude</div><div class="feat-item">/bridge</div><div class="feat-item">/agents-platform</div>
</div>
</div>
<div class="card">
<div class="card-title">SECRET CLI FLAGS</div>
<div class="feature-grid">
<div class="feat-item">--bare</div><div class="feat-item">--spawn</div><div class="feat-item">--capacity-mb</div><div class="feat-item">--bg</div><div class="feat-item">--dump-system-prompt</div><div class="feat-item">--daemon-worker</div><div class="feat-item">--computer-use-mcp</div><div class="feat-item">--chrome-native-host</div>
</div>
</div>
<div class="card">
<div class="card-title">SECRET ENVIRONMENT VARIABLES</div>
<div class="section-label">DEBUG</div>
<div class="feature-grid">
<div class="feat-item" style="color:#fb923c">CLAUDE_CODE_PERFETTO_TRACE</div>
<div class="feat-item" style="color:#fb923c">CLAUDE_CODE_DEBUG_REPAINTS</div>
</div>
<div class="section-label">OVERRIDE</div>
<div class="feature-grid">
<div class="feat-item" style="color:#38bdf8">CLAUDE_CODE_EXTRA_BODY</div>
<div class="feat-item" style="color:#38bdf8">CLAUDE_CODE_MAX_CONTEXT_TOKENS</div>
<div class="feat-item" style="color:#38bdf8">MAX_THINKING_TOKENS</div>
</div>
<div class="section-label">DISABLE</div>
<div class="feature-grid">
<div class="feat-item" style="color:#f472b6">DISABLE_INTERLEAVED_THINKING</div>
<div class="feat-item" style="color:#f472b6">DISABLE_COMMAND_INJECTION_CHECK</div>
</div>
<div class="section-label">INTERNAL</div>
<div class="feature-grid">
<div class="feat-item" style="color:#a78bfa">USER_TYPE=ant</div>
</div>
<div class="card-body" style="margin-top:12px;font-size:22px;color:rgba(255,255,255,0.35)">USER_TYPE=ant 解锁所有内部功能嵌套Agent、dev覆盖等</div>
</div>
</div>
<div class="footer-note">source: restored-src/src/commands.ts · src/constants/tools.ts</div>
</body>
</html>