Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
图标icons
nerd:Nerd Font 图标,需要终端使用 Nerd Font;unicode:普通符号,任何字体都能显示。Desktop 和 VS Code 总是使用 unicode。
One of nerd, unicode
stringdefault nerd
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it runs programs; reads files; reads your settings; calls a model on your account.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code mod:在侧边 pane 实时显示会话速览,另有一个独立的侧聊 pane。离开几天回来,扫一眼就能接着干;工作进行中,也可以随时追问。
❖ 进度 2/4 · 50%
━━━━━━━━━━━━━━──────────
╭────────────╮
│ ✓ 读原仓库 │
╰──────┬─────╯
▼
╭────────────╮
│ ◐ 写代码 │
╰────────────╯
› 窄 pane 放不下图时自动改成步骤列表
在 Claude Code 里:
/plugin marketplace add DylanLIiii/sulan
/plugin install sulan@sulan
或者用命令行:
claude plugin marketplace add DylanLIiii/sulan
claude plugin install sulan@sulan
本地开发时直接加载目录:claude --plugin-dir /path/to/sulan。
/sulan 打开速览侧栏;终端够宽时会自动停靠/sulan-chat 另开一个独立的侧聊侧栏,并尝试聚焦输入框;Enter 发送,Esc 将键盘交还主输入框r 刷新、b 从头重建;写作规则在 INSTRUCTIONS.md,可以直接改点击侧聊顶部的「模型」可选择 Claude Code 已配置的模型;选择会保存,清空侧聊也会保留。插件读取合并后的 modelPicker.options,保留模型的完整路由和名称,并遵循 replaceBuiltInOptions。未替换内置选项时,也提供由 Claude Code 解析的 Sonnet、Opus、Haiku 别名;当前主会话模型也会加入列表。每次打开侧聊会重新读取列表,切换侧聊模型只影响侧聊,模型权限仍由 Claude Code 校验。
点击「思考」可选择 Effort:low、medium(默认)、high、xhigh、max,选择会自动保存。仅选择具体模型时会传给 model.complete;模型是否支持、是否降档由 Claude Code 和服务端决定。「跟随主会话」仍沿用主会话的 Effort,不使用侧聊的单独设置。
默认「跟随主会话」使用 model.fork,自动继承主会话最近一次请求的上下文;需要主会话已有可用请求快照。选择具体模型时,使用 model.complete,插件自动附上速览摘要、可读取的主会话历史与之前的侧聊问答,无需手动复制。此模式不继承 fork 内部的完整系统提示、工具定义或多模态附件。
指定模型时,主会话历史按最近优先保留,JSON 文本预算为 80,000 字符,另附最多 10,000 字符速览;单条消息超过 16,000 字符、工具输入超过 2,000 字符或结果超过 4,000 字符时也会截短。发生省略时,侧栏和模型收到的上下文都会明确说明,因此不能把它视为完整 fork。默认「跟随主会话」不使用这条手动截取策略。
侧聊不会打断主任务,回答不会自动进入主会话,也不能调用工具或修改文件。每次提问会消耗当前订阅或 API 额度;fork 可复用主会话提示缓存,指定模型的请求使用独立的缓存前缀,缓存命中由服务端决定。
Thinking 支持回复文本里的 <think>、<thinking>、<analysis>、<reasoning> 标记,代码块和行内代码中的标签不会误折叠。对特征明确的无标签回答规划会标为「疑似 Thinking」,可展开检查;普通英文不会仅因语言被隐藏。如果只有思考而没有可识别的最终回答,会提示重试,不再显示为已完成。旧记录会在读取时兼容处理。
当前 model.complete/fork 仅返回整段文本,没有暴露独立的实时思考流,所以等待期间只显示真实的请求阶段,不能逐字显示模型内部思考。Thinking 与回答分别限 4,000 字符,先分离再截断,避免思考占满回答空间;复制和后续侧聊上下文只包含最终回答,不混入思考。明确模型请求的输出 token 上限为 6,000。
侧聊记录按会话保存在本机插件存储中,/clear、/resume 和 /branch 会切换到对应记录。每个会话保留最近 8 组问答,最多保留 15 个会话;问题限 2000 字符,过长的回答会在 4000 字符处截断。清空侧聊只删除当前会话的侧聊记录。
默认使用 Nerd Font,终端需要装 Nerd Font。没有的话在插件设置里把 icons 改为 unicode。Desktop 和 VS Code 总是用 unicode 符号。
cd scripts
npm install
npm test # 纯函数单测
npm run preview -- --cols 44 # 在终端预览速览,可加 --icons unicode
npm run preview -- --chat --cols 40 # 预览侧聊;加 --empty、--models 或 --effort 查看对应状态
npm run preview -- --chat --thinking # 预览折叠的思考;加 --expanded 查看展开状态
npm run build:vendor # 重新打包流程图引擎
cd ..
claude plugin test # 速览与侧聊的会话级测试
/clear、/resume 处理沿用自它hooks/vendor/,许可见 hooks/vendor/LICENSE.beautiful-mermaidnpx claudepluginhub dylanliiii/sulan --plugin sulanBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.