跳到正文
Skillpedia
技术文档70k · #3119

give-me-tips

它能做什么

这个工具会详细解释 Senpi 向你展示的提示(tips),比如启动时的小贴士,或者使用过程中出现的特定消息。它会说明这条提示的含义,以及背后的功能是如何运作的。

适用场景

  • ✓当你看到某条提示,想知道它是什么意思时。
  • ✓当出现“Tip:”提示而你看不懂时。
  • ✓当你想了解某个特定功能是如何工作的时候。

技能链接

https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/skills/give-me-tips/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/skills/give-me-tips/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“提示“Try breaking your problem into smaller parts”是什么意思?”

每周 5 个新技能,1 分钟读完。

工作原理

工具会先检查当前对你生效的是哪些提示。然后,它会深入查看这条提示背后的实际代码,精确解释其运作方式,并列出涉及的文件和流程。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

give-me-tips - explain any senpi tip, in depth

Purpose

Senpi shows the user tips: startup tips, working tips, and Tip: lines injected by omo components. When the user asks about any of them - "what was that Tip: line", "what does this tip mean", "how does that feature work" - this skill produces a DEEP explanation of that exact tip, in the USER'S language (match the language they asked in, always).

Specific over generic, every time. "It retries on failure" is a failure of this skill. "It detects the refusal from the stopDetails on the assistant message_end event, gates on the architect category in your .omo/omo.json, and only then injects the directive" is the bar. The user asked because the tip made them curious; reward that curiosity with the real mechanism, not a summary of the tip text they already read.

Query the live tip list FIRST

Never explain from memory. Get the ground truth of what tips exist:

  1. Run the tip-listing flag of the command this product is installed as: omo --list-tips under OmO Native (omo-ai installs; the session environment carries OMO_NATIVE=1 and OMO_BIN), or senpi --list-tips under a plain senpi install. Never spell it senpi on an OmO Native machine: package managers link only the top-level omo bin, so senpi is not on PATH there. If the brand command is not on PATH either (bunx/npx launches), invoke the launcher the OMO_BIN variable points at: "$OMO_BIN" --list-tips. The command prints JSON: [{id, text, requiresCommand?}]. Match the user's tip against this list by id or by text fragment.
  2. If the flag is unavailable on this senpi version, fall back to reading the catalog sources directly at packages/coding-agent/src/modes/interactive/tips/catalog/ inside the installed @code-yeongyu/senpi package (find it via the senpi install path or node_modules) or in a local clone of code-yeongyu/senpi.

Then - and this is the part most explanations get wrong - available tips DIFFER per user. The catalog is the superset; what THIS user can actually see is gated by:

  • the tips toggle in the senpi agent dir settings.json (tips can be off entirely),
  • tipsHistory in that same settings/state, which drives cooldown rotation so a tip the user saw recently will not reappear for a while,
  • requiresCommand gating: a tip tied to a command only shows when that command is available,
  • keybinding availability: some tips reference bindings the user's setup may not have.

Read the senpi agent dir settings.json (and its tips history state) BEFORE explaining, and tell the user which tips they personally can encounter and why - not the full catalog as if everyone sees everything.

Verify before explaining

Never invent behavior. A tip is a one-line promise; the truth lives in code. Before writing the explanation, read the actual feature implementation:

  • senpi itself: code-yeongyu/senpi, under packages/coding-agent/ (the tips catalog lives at packages/coding-agent/src/modes/interactive/tips/catalog/; the features the tips point at live in the surrounding packages),
  • omo components: code-yeongyu/oh-my-openagent, under packages/omo-senpi/.

Cite the concrete file paths you read in your explanation. If the code and the tip text disagree, the code wins - say so and show what it actually does.

Tone: BRAG

These tips exist because someone engineered something genuinely impressive, and a flat doc summary betrays that. Lead with the most impressive engineering behind the tip - the clever detection, the race that had to be closed, the state machine hiding under one sentence - and showcase it. The user should finish the explanation feeling like they got a tour of the engine room, not a sticker reading. Concrete mechanics over adjectives: name the events, the gates, the file paths, the exact order of operations.

The Fable-5-refusal tip specifically

When the user asks about the tip that appears after a Fable 5 refusal ("Fable 5 refused, but its refusals should not wear you down..."), explain the full fallback-architect pipeline, citing packages/omo-senpi/src/components/fallback-architect/:

  1. Refusal detection (detection.ts): the component watches message_end events and applies the same refusal semantics senpi's own retry classifier uses - stopReason checked FIRST (so an abort or normal stop carrying stale stopDetails can never masquerade as a refusal), then

…

常见问题

为什么解释得这么详细?

目标是展示提示背后令人印象深刻的工程实现,就像带你参观引擎室,而不是只给一个简单的概括。

每个人看到的解释都一样吗?

不一样,解释是个性化的。它会考虑哪些提示对你生效、你最近是否见过它们,以及相关的命令或快捷键是否可用。

如果代码和提示的说法不一样怎么办?

如果两者存在出入,工具会说明代码实际做了什么,因为代码才是最终依据。

详情

作者的原始描述

Explains any senpi tip in depth, including Tip: lines in the TUI. Use when the user asks about a tip, what a tipped feature does, or which tips they can see.

repo: code-yeongyu/oh-my-openagent

热度

GitHub 星标
70k
排名
#3119
许可证
NOASSERTION
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能