HC

huxiuhan/civ-finish-quotes

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

79 stars 品質 52 トレンド 14MIT

huxiuhan/civ-finish-quotes は [https://github.com/huxiuhan/civ-finish-quotes.] からインポートされたエージェントスキルの候補です

概要

huxiuhan/civ-finish-quotes は [https://github.com/huxiuhan/civ-finish-quotes.] からインポートされたエージェントスキルの候補です

概要(AI 翻訳)

[[civ-finish-quotes]は、文明スタイルの完成引用符を実際の完成作品に追加するためのプラットフォームニュートラルスキルとツールキットです。

Codex、Claude Code、OpenCodeなどのエージェント環境向けに設計されています。スキルのみが必要な場合は軽量ですが、キュレーション、再構築、データセットを拡張したい場合は、フルクォートライブラリプロジェクトとして保守可能です。

ホテル README

クイックインストール

スキルのみを使いたい場合は、このリポジトリをエージェントのスキル/ツールディレクトリにコピーするか、公開時にGitHubソースからインストールするか、 SKILL.md でランタイムを指してください。

ランタイムパスはローカルとオフラインです。

  • スキル定義はSKILL.mdに住んでいます
  • エージェントメタデータはエージェント/オーパナイに住んでいます。 ログイン
  • 承認されたランタイムライブラリはアセット/quotes/approved quotes.jsonlに住んでいます

ほとんどのユーザーにとっては十分です。 引用ライブラリを再構築するオプションです。

ショーケース

中国語と英語のエージェントの会話からの例:

| 中国語 | 簡体 | お問い合わせ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

例

入力ペイロード:

ローカルでそれをレンダリングして下さい:

典型的な出力:

使い方

実行時間の流れは意図的に小さいです:

1。 エージェントが実際に実質的なタスクを閉じているかどうかを検知します。 2.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Civ Finish Quotes

civ-finish-quotes is a platform-neutral skill and toolkit for adding Civilization-style completion quotes to real finished work.

It is designed for agent environments such as Codex, Claude Code, or OpenCode: lightweight to install if you only want the skill, but also maintainable as a full quote-library project if you want to curate, rebuild, and extend the dataset.

简体中文 README

Quick Install

If you only want to use the skill, copy this repo into your agent’s skills/tooling directory, or install it from its GitHub source when published, and point your runtime at SKILL.md.

The runtime path is local and offline:

For most users, that is enough. Rebuilding the quote library is optional.

Showcase

Examples from Chinese and English agent conversations:

Chinese English

Example

Input payload:

{
  "task_summary": "Completed the architecture refactor and shipped the new system build.",
  "deliverable_type": "code",
  "completion_class": "engineering",
  "completion_mode": "build",
  "keywords": ["architecture", "refactor", "system", "build"],
  "user_language": "en",
  "recent_quote_ids": []
}

Render it locally:

python3 ./scripts/render_finish_quote.py \
  --library ./assets/quotes/approved_quotes.jsonl \
  --input-json ''

Typical output:

----------

"The fewer moving parts, the better. No truer words were ever spoken in the context of engineering."
-- Christian Cantrell, Containment

How It Works

The runtime flow is intentionally small:

  1. Detect whether the agent is actually closing a substantial task.
  2. Build a compact request payload with task summary, completion class, completion mode, keywords, and user language.
  3. Rank quotes from the bundled approved library.
  4. Render a short ceremonial block with quote, author, and source.

The selector is designed to avoid obvious misses:

  • it skips small talk and trivial completions
  • it applies a relevance floor before returning a quote
  • it prefers language-matching display text when available
  • it automatically avoids reusing the same quote within a rolling 24-hour local window when alternatives exist
  • it writes local history to the user cache directory when possible, and falls back to a repo-local .cache/ in restricted environments
  • it filters high-risk themes by default for ordinary tasks

Runtime Support

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add huxiuhan/civ-finish-quotes
MCP 初心者?mcpskill.org のガイドから始めましょう →