yq-build-foundation

yq-build-foundation is a skill for Codex from EthanYoQ/Skill-hub. It costs 63 tokens per session (1,826 once invoked), scanned A, original, MIT.

A research workflow for finding existing open-source projects before designing new software. It compares possible foundations and records whether to adopt, fork, combine, reference, or build from scratch.

In plain words
What is it for?
Use it before architecture and implementation when evaluating open-source foundations, forks, or combinations of existing projects; it is not for market research or choosing a single library.
Why use it?
It reduces unnecessary new development by checking whether suitable software already exists and documenting why a chosen approach fits.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it before architecture and implementation when evaluating open-source foundations, forks, or combinations of existing projects; it is not for market research or choosing a single library.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/yq-build-foundation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add EthanYoQ/Skill-hub --skill yq-build-foundation
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yq-build-foundation

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/yq-build-foundation/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/yq-build-foundation)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/yq-build-foundation"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/yq-build-foundation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yq-build-foundation

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/yq-build-foundation"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/yq-build-foundation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,826 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01826
Opus 5.5 $0.00025 $0.00730
Sonnet 5.5 $0.00013 $0.00365
Haiku 4.5 $0.00006 $0.00183

Measured 2mo ago against content hash 8a7806316a75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yq-build-foundation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

archives/user-installed-skills/yq-build-foundation/f0d50e954bcad7bc/yq-build-foundation/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

yq-build-foundation

在架构设计之前,先确认世界上已有何种解决方案。目标是尽量基于成熟项目 Fork/改造/组合,做成 100% 符合需求的产品,而不是从零造轮子。

何时激活

  • 已决定做某个软件/产品/功能,在架构设计和实现之前
  • 需要找开源底座做二次开发(Fork 改造、组合拼接)
  • 用户说"先看看有没有现成的"、"找个开源项目改"、"基于 XX 做"

何时不激活

  • 还在判断"这个产品值不值得做" — 那是市场调研,不是底座选型
  • 写代码过程中需要找某个 npm/PyPI 库 — 那是依赖选择,用 search-first 思路
  • 已有明确技术栈,只需补充工具链 — 直接安装即可

核心原则

Search Before Building — 设计之前先确认已有方案,避免重造轮子。

适配度 > Stars — Stars 仅作成熟度佐证和排序辅助,不凌驾需求覆盖度、可二开性、架构匹配。

GREENFIELD 是兜底 — 只有完成系统搜索并记录覆盖证据后仍无合适底座,才允许 GREENFIELD。

快速流程

五个阶段,单 Agent 顺序执行,目标 15–30 分钟出决策单。

S0 渠道预检

检查以下渠道是否可用,不可用的显式记录 skipped: <原因>,不静默跳过:

渠道 检查方式 缺失时
GitHub CLI gh auth status 用 Web 搜索兜底
包注册表 npm --version / pip --version 等 用 Web 搜索兜底
Web 搜索 可用搜索工具/API 仅靠 GitHub + 注册表

S1 需求蒸馏

从产品想法抽出 4–6 组关键词:

组类型 说明 示例
domain 领域/场景 "task manager", "CRM"
capability 核心能力(每个能力一组) "real-time sync", "offline mode"
technique 技术手段 "CRDT", "WebSocket"
competitor 已知竞品/产品名 "Notion", "Linear"

每组 3–6 个扩展词(同义词、缩写、社区惯用语)。多义词配 negative terms(如 "apple" 排除 "fruit")。

社区术语探针:锁定关键词前,快速扫一眼目标领域 awesome-list 的章节标题和 2–3 个明显相关仓库的 topic tags——用户说 "trading bot",社区可能叫 "algotrading"。把发现的社区惯用语补进扩展词。

S2 四源搜索

源 方法 目标
GitHub gh search repos + topic/keyword 搜索 主战场
包注册表 npm/PyPI/crates/RubyGems 按语言搜 可安装的组件
Awesome Lists awesome-<domain> 目录 策展过的候选
Web AlternativeTo、社区推荐帖 发现 GitHub 上不火但好用的

补充渠道(有精力再查):GitLab、Codeberg、SourceForge。

候选去重:fork/mirror 标记为同一项目。目标 8–15 个真候选,不够就扩大关键词而不是凑数。

S3 Top 3 浅读

对每个候选通过 gh CLI 或 GitHub API 读以下公开信息(不浅 clone 源码):

  • README + 目录结构
  • License 文件
  • 最近 6 个月提交频率、Issue 响应速度(gh api repos/<owner>/<repo>/commits?per_page=5 或 Web 页面)
  • 测试目录存在性(tests/、test/、tests/、spec/)
  • 依赖清单(package.json、requirements.txt、Cargo.toml)

S4 决策与蓝图

按评估维度和决策矩阵输出决策单。

评估维度

每项 0–2 分,乘权重后汇总。License 是门槛项,不合格直接排除 FORK_BASE。

维度 权重 看什么
需求覆盖度 x3 README/文档中已实现的核心能力比例
可二开性/扩展点 x3 插件机制、模块化、配置驱动、清晰分层
架构匹配 x2 语言/框架/部署形态与目标一致
维护活跃度 x2 最近提交、Issue 响应、Release 节奏
Bus factor x1 是否多于一个核心贡献者(单人项目风险高)
代码质量与测试 x2 测试目录、CI、类型注解/lint
文档与社区 x1 文档完整度、社区规模
License 门槛项 MIT/Apache/BSD 放行;GPL/AGPL 看商业兼容性;不明 License 否决 FORK_BASE
Stars 排序辅助 只作成熟度佐证,不计入主分

Read the full file on GitHub · 148 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 148 lines · 63 tokens per session scan A 8a7806316a75

Subscribe to this mod's changes

yq-build-foundation is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 63 tokens to every session and 1,826 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

yq-build-foundation compared with skills from other repositories

yq-build-foundation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yq-build-foundationEthanYoQ/Skill-hubSkill122d agoMITA63Codex
wikiSethGammon/CitadelSkill9433d agoMITA56Claude Code
escalation-governanceathola/claude-night-marketSkill358yesterdayMITA19Claude Code
agent-workflow-playbookGingiris-1031/gingiris-skillsSkill9213d agoMITA83Claude Code, Codex
ecom-socialkangise/ecommerce-ai-skillsSkill1247d agoCC0-1.0A60Claude Code, Codex
ecom-customer-servicekangise/ecommerce-ai-skillsSkill1247d agoCC0-1.0A49Claude Code, Codex
ecom-pricingkangise/ecommerce-ai-skillsSkill1247d agoCC0-1.0A35Claude Code, Codex