
huxiuhan/civ-finish-quotes
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
huxiuhan/civ-finish-quotes - кандидат на агентские навыки, импортированный из https://github.com/huxiuhan/civ-finish-quotes.
Обзор
huxiuhan/civ-finish-quotes - кандидат на агентские навыки, импортированный из https://github.com/huxiuhan/civ-finish-quotes.
Обзор (машинный перевод)
civ-finish-quotes - это нейтральный к платформе навык и инструментарий для добавления цитат завершения в стиле Цивилизации к реальной завершенной работе.
Он предназначен для агентских сред, таких как Codex, Claude Code или OpenCode: легкий для установки, если вам нужен только навык, но также поддерживается в качестве полного проекта библиотеки цитат, если вы хотите курировать, перестраивать и расширять набор данных.
中 Readme
Быстрая установка
Если вы хотите использовать этот навык, скопируйте этот репо в каталог навыков / инструментов вашего агента или установите его из источника GitHub при публикации и укажите время выполнения на SKILL.md.
Путь выполнения является локальным и офлайн:
- определение навыка живет в SKILL.md Метаданные агента живут в агентах/опенах. ямл
- утвержденная библиотека времени выполнения живет в активах/цитатах/утвержденных quotes.jsonl
Для большинства пользователей этого достаточно. Восстановление библиотеки цитат необязательно.
##Витрина
Примеры из разговоров китайских и английских агентов:
| Китайский | Английский [править править код] [править] [править]
Пример
Вводная полезная нагрузка:
Оформите его локально:
Типичный выход:
Как это работает
Поток времени выполнения намеренно мал:
1 Выясните, действительно ли агент выполняет важную задачу. 2.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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.
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:
- the skill definition lives in SKILL.md
- the agent metadata lives in agents/openai.yaml
- the approved runtime library lives in assets/quotes/approved_quotes.jsonl
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:
- Detect whether the agent is actually closing a substantial task.
- Build a compact request payload with task summary, completion class, completion mode, keywords, and user language.
- Rank quotes from the bundled approved library.
- 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
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add huxiuhan/civ-finish-quotes