跳到正文
cccskills
免费在 GitHub 公开

ase-meta-quotes

Find quotes for a set of topic keywords and place them into a 2x2 matrix, spanned by the presence of an author/origin and by the literal containment of a keyword, optionally grounded in Internet/Web facts and optionally widened to the conceptual neighborhood of the topic. Use when the user wants "quotes", "sayings", "aphorisms", or "citations" on a topic.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md7.5 KB
  • help.md4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md

<purpose name="ase-meta-quotes"> Find Quotes on a Topic </purpose>

<expand name="getopt" arg1="ase-meta-quotes" arg2="--ground|-g --proximity|-p --count|-c=8"> $ARGUMENTS </expand>

<objective> *Find* quotes for the following topic keywords: <keywords><getopt-arguments/></keywords> </objective> <flow>
  1. <step id="STEP 1: Sanity Check Usage">
    1. <if condition="<keywords/> is empty"> Only output the following <template/> and then immediately *STOP* processing the entire current skill: <template> ⧉ **ASE**: ✪ skill: **ase-meta-quotes**, ▶ ERROR: expected a `<topic-keywords>` argument </template> </if>
    2. Set <quotes></quotes> (set to empty).

    3. Determine the maximum total number of quotes to surface: set <count/> to <getopt-option-count/>; if <getopt-option-count/> is non-numeric or less than or equal to 0, use the default 8 instead.

    </step>
  2. <step id="STEP 2: Harvest Quotes">
    1. Determine quotes -- sayings, aphorisms, maxims, proverbs, and citations -- which are about the topic <keywords/>, and store them in <quotes/>. Per quote, record its text, its author (a named person or organization, if any is known), its origin (a named work, standard, or document, if any is known), and <keywords/> as its source topic.

    2. <if condition="<getopt-option-ground/> is equal `true`">

      Additionally -- and never instead -- gather quotes from the Internet/Web by using the ase-meta-search skill in a sub-agent with the following tool call:

      Agent( description: "Query Web Search Service", subagent_type: "ase:ase-meta-search", prompt: "Search the Internet/Web and gather quotes about the following topic: <keywords/>", run_in_background: false )

      Merge the returned quotes into <quotes/>, deduplicating quotes which differ only in punctuation, capitalization, or attribution wording, and remember for every quote whether the search confirmed its exact wording and attribution.

      <if condition="the sub-agent returned no usable quotes"> Output the following <template/> and continue with the model knowledge only: <template> <ase-tpl-bullet-secondary/> **WARNING**: grounding found no usable quotes -- falling back to model knowledge. </template> </if> </if>
    </step>
  3. <step id="STEP 3: Widen Topic via Proximity" condition="<getopt-option-proximity/> is equal `true`">
    1. Set <prompt><keywords/></prompt>.

    2. <if condition="<getopt-option-ground/> is equal `true`"> Set <prompt>GROUND <keywords/></prompt>, so the agent grounds its determination in Internet/Web facts instead of using model knowledge only. </if>
    3. Determine the conceptual neighborhood of <keywords/> by using the ase-meta-proximity agent in a sub-agent with the following tool call:

      Agent( description: "Determine Conceptual Proximity", subagent_type: "ase:ase-meta-proximity", prompt: "<prompt/>", run_in_background: false )

    4. <if condition="the sub-agent returned no usable neighborhood"> Output the following <template/>, *SKIP* the remaining sub-steps of this step, and continue with the quotes harvested in STEP 2 only: <template> <ase-tpl-bullet-secondary/> **WARNING**: proximity agent returned no usable result -- keeping the narrow topic only. </template> </if>
    5. Parse the returned labeled list and set <neighborhood/> to the values of its PARENT: line (the broader topic), of its four SIBLING: lines (the same-level topics), and of its four CHILD: lines (the narrower topics).

    6. Harvest quotes for each topic of <neighborhood/> exactly as in STEP 2 (Harvest Quotes), record the contributing neighborhood topic as the source topic of each of those quotes, and merge the results into <quotes/>.

    </step>
  4. <step id="STEP 4: Classify and Render Quotes">
    1. Classify Quotes:

      Classify every quote of <quotes/> along two orthogonal axes:

      • ATTRIBUTION: A quote is ATTRIBUTED if a named author and/or a named origin is known for it, and ANONYMOUS otherwise.

      • LITERALNESS: A quote is LITERAL if its text contains at least one of the topic keywords of <keywords/> as a whole word -- matched case-insensitively and tolerating inflections (e.g. architect and architectural match the keyword architecture), but never as a mere substring (e.g. art does not match architecture). A quote is THEMATIC otherwise.

      Both axes span the four quadrants:

      • Q1 (ATTRIBUTED and LITERAL)
      • Q2 (ATTRIBUTED and THEMATIC)
      • Q3 (ANONYMOUS and LITERAL)
      • Q4 (ANONYMOUS and THEMATIC)
    2. Finally, reduce <quotes/> to at most <count/> quotes in total, distributed as evenly as possible across the four quadrants and preferring the most relevant and most well-known quote per quadrant.

    3. Render Quotes:

      Render every quote on its own ○-prefixed line, with the following suffixes appended in this order:

      • — *<author/>*, <origin/> in the two ATTRIBUTED quadrants, omitting whichever of <author/> and <origin/> is unknown.

      • [from proximity:<source-topic/>] if the quote was harvested for a neighborhood topic in STEP 3 rather than for <keywords/> itself.

      • *(unverified)* if the exact wording or the attribution of the quote could not be established with confidence -- but omit this marker for a quote whose wording and attribution the Internet/Web search of STEP 2.2 confirmed, including its re-application for a neighborhood topic in STEP 3.

      Render the single line ○ (none) for a quadrant without any quote. Output the result with the following <template/>:

      <template> <ase-tpl-head title="QUOTES"/>

      ● Q1 - ATTRIBUTED / LITERAL: ○ [...]

      ● Q2 - ATTRIBUTED / THEMATIC: ○ [...]

      ● Q3 - ANONYMOUS / LITERAL: ○ [...]

      ● Q4 - ANONYMOUS / THEMATIC: ○ [...]

      <ase-tpl-foot title="QUOTES"/> </template>
    </step>
</flow>

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Review software architecture, including package cohesion and inter-package coupling

中文简介正在准备中。当前显示原文说明。

rse/ase602026年10月22日 更新

Discover additional, third-party components (libraries/frameworks) for the technology stack to provide needed functionality.

中文简介正在准备中。当前显示原文说明。

rse/ase602026年10月22日 更新

Analyze the source code for problems in either the logic and semantics and its related control flow, performance and efficiency, or security.

中文简介正在准备中。当前显示原文说明。

rse/ase602026年10月22日 更新

Edit Source Code: Use when the user wants to "edit" the code base in one shot from a query or a bare analyzer issue id like "P1", fusing crafting, refactoring, and resolving with optional grilling, verification, looping, and Git worktree isolation.

中文简介正在准备中。当前显示原文说明。

rse/ase602026年10月22日 更新

Explains code with WHAT, WHY, ANALOGY, DIAGRAM, CRUXES, and GOTCHAS. Use when you want to know how code works or when the user asks "how does this work?"

中文简介正在准备中。当前显示原文说明。

rse/ase602026年10月22日 更新

Give insights into the source code.

中文简介正在准备中。当前显示原文说明。

rse/ase602026年10月22日 更新

查看 rse 的全部技能

报告此技能的问题