Skip to content

Commit b7cfb59

Browse files
committed
Add surveys.
1 parent 69bb373 commit b7cfb59

34 files changed

Lines changed: 732 additions & 173 deletions

reflective-prompt-library/PROJECT_KNOWLEDGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ deferred promotions are recurrence-gated — see [panel backlog](plans/multi-age
8787
> not duplicated here; this is a map, not an archive. Mechanical panel rounds
8888
> are rolled up; the round-by-round trail lives in the panel record.
8989
90+
- 2026-07-11 Survey implementation (user-approved) — executed the survey-derived plans through their gates: Agent Skills spec conformance migrated (skills-ref 0.1.1 rejected all 11 skills' top-level governance fields, observed; fields moved under `metadata:`, packs gained `compatibility`, 11/11 now validate; `validate_links.py` enforces the spec whitelist with negative tests); loop-pack demotion trigger evaluated **not fired** (`/goal` is a model-judge stop, below the deterministic bar) with a Host-Native Alternatives note in the loop skill; pack usage log opened with zero-state; R8-compliant holdout expansion adopted H1/H2/H5/H6 with pre-tune observations (H3/H4 deferred as genuinely ambiguous) raising floors to ROUTE-002 42/118 and ROUTE-003 21/73 with four new router boundaries at 100%; SKILL_INSTALLATION gained Codex tiers, Gemini CLI (smoke-verified), spec troubleshooting, and host-side review-gate mapping → [skills ledger](plans/skills-surface-plan-2026-07-11.md), [demotion record](plans/flow-pack-demotion-evaluation-2026-07-11.md), [usage log](plans/flow-pack-usage-log.md), [routing ledger](plans/routing-holdout-plan-2026-07-11.md)
9091
- 2026-07-11 Skills/flow-control landscape survey and domain planning — primary-doc survey found the SKILL.md format now a 30+-host open standard (`.agents/skills` cross-host path, spec validator, context budgets) and host-native loop surfaces shipped (`/goal` model-judge loop, `/loop`, script Stop hooks, `/batch`); one prior `[search-derived]` claim confirmed (native goal mode), AgentKit wind-down kept `unknown`; three gated domain plans opened (skills-surface S1–S6, flow-control F1–F4 incl. the T4 demotion-trigger evaluation, routing-holdout H1–H6 under R8) with no adoption, demotion, or router change decided → [survey](../surveys/agent-skills-flow-control-survey-2026-07-11.md), [skills plan](plans/skills-surface-plan-2026-07-11.md), [flow roadmap](plans/flow-control-roadmap-2026-07-11.md), [routing plan](plans/routing-holdout-plan-2026-07-11.md)
9192
- 2026-07-11 Whole-project plan and roadmap consolidation — the open-work register (T1–T3, P6/P7/P12/P13/P15, M4–M7, E2, D4, June backlog) and all standing gates consolidated into two active, non-authoritative planning artifacts after the four earlier plans were retired as historical records; no new rules or gates introduced → [plan](plans/whole-project-plan-2026-07-11.md), [roadmap](plans/whole-project-roadmap-2026-07-11.md)
9293
- 2026-07-11 Governance necessity consensus — six-lens review distinguished the load-bearing bounded core routing set from the historical cardinalities nine core / two packs; explicit Human Review adopted N2–N7, N9, and N10: binding domain-pack admission, canonical two-tier pointers, core-only install defaults with opt-in packs, structural pack guards, cardinality clarification, Adoption Guard Closure, R8 canonical pointer, and required per-skill license. N8 ratio replacement was rejected; pack merge (P6) and router integration (P7) remain trigger-gated; no pack entered core routing → [panel record](plans/governance-necessity-panel-record-2026-07-11.md)

reflective-prompt-library/SKILL_INSTALLATION.md

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Language: English | [繁體中文](SKILL_INSTALLATION.zh-TW.md)
44

55
Last verified: 2026-07-11
66

7-
This guide explains how to install the nine TeaPrompt core workflow skills—and, when explicitly wanted, the optional registered domain packs—into Claude Code, Codex, Cursor, Google Antigravity CLI / IDE, and OpenCode.
7+
This guide explains how to install the nine TeaPrompt core workflow skills—and, when explicitly wanted, the optional registered domain packs—into Claude Code, Codex, Cursor, Gemini CLI, Google Antigravity CLI / IDE, and OpenCode.
88

99
The source skills live here:
1010

@@ -212,6 +212,12 @@ Codex-native install uses `$CODEX_HOME/skills`; when `CODEX_HOME` is unset, the
212212
~/.codex/skills/<skill-name>/SKILL.md
213213
```
214214

215+
Current Codex docs (checked 2026-07-11) additionally document Agent Skills tiers:
216+
repository `.agents/skills` scanned from the working directory up to the repo
217+
root, user `$HOME/.agents/skills`, and admin `/etc/codex/skills`; `$skill-installer`
218+
installs curated skills. The `~/.codex/skills` path below is the Codex-native
219+
location that predates those tiers.
220+
215221
Personal Codex install (copy):
216222

217223
```bash
@@ -246,6 +252,14 @@ install_core_skills_symlink .agents/skills
246252

247253
Use `.agents/skills` when you want one project-local skill location that can also be read by other Agent Skills-compatible tools. If your Codex build does not show these skills, use the Codex-native `~/.codex/skills` path.
248254

255+
User-scope shared option (works for every `.agents/skills`-aware host):
256+
257+
```bash
258+
install_core_skills_copy "$HOME/.agents/skills"
259+
# or
260+
install_core_skills_symlink "$HOME/.agents/skills"
261+
```
262+
249263
## Cursor
250264

251265
Cursor has two relevant instruction surfaces:
@@ -321,6 +335,42 @@ Prefer:
321335

322336
This is not a native skill install, but it preserves the workflow behavior in Cursor's official Rules system.
323337

338+
## Gemini CLI
339+
340+
Gemini CLI implements the Agent Skills standard with these discovery tiers
341+
(lowest to highest precedence: built-in, extension, user, workspace; within a
342+
tier the `.agents/skills` alias beats `.gemini/skills`):
343+
344+
| Scope | Path |
345+
| --- | --- |
346+
| Workspace | `.gemini/skills/<skill-name>/SKILL.md` or `.agents/skills/<skill-name>/SKILL.md` |
347+
| User | `~/.gemini/skills/<skill-name>/SKILL.md` or `~/.agents/skills/<skill-name>/SKILL.md` |
348+
349+
The shared helpers work as for other hosts:
350+
351+
```bash
352+
install_core_skills_copy .agents/skills # workspace
353+
install_core_skills_symlink "$HOME/.agents/skills" # user
354+
```
355+
356+
Gemini CLI also manages skills natively:
357+
358+
```bash
359+
gemini skills list --all
360+
gemini skills link "$(pwd)/reflective-prompt-library/skills/reflective-brief" --scope user
361+
gemini skills install <git-url> --path reflective-prompt-library/skills/reflective-brief --consent
362+
gemini skills uninstall reflective-brief --scope user
363+
```
364+
365+
Notes (verified on macOS, 2026-07-11): `gemini skills list` reads
366+
`~/.agents/skills`; `link` asks an interactive security confirmation (`install`
367+
accepts `--consent` to skip it); duplicate names across tiers are reported as
368+
conflicts with the higher tier winning; skill activation in-session shows a
369+
consent prompt naming the skill and the directory it gains access to. Google
370+
has announced that unpaid-tier and Google One users' Gemini CLI is being
371+
replaced by Antigravity CLI (see the next section), so free-tier users should
372+
prefer the Antigravity paths.
373+
324374
## Antigravity CLI / Antigravity IDE
325375

326376
Antigravity supports Agent Skills in these locations:
@@ -480,6 +530,11 @@ Use symlink installs only for your own workspace, not as the default team instal
480530
6. Ask the host to list available skills.
481531
7. If a skill triggers too often, make the `description` narrower.
482532
8. If a skill never triggers, make the `description` more explicit and include likely user phrases.
533+
9. Validate spec conformance: `python3 reflective-prompt-library/plans/validate_links.py`
534+
in this repo, or the reference tool (`pip install skills-ref`, then
535+
`agentskills validate <skill-dir>`). Only `name`, `description`, `license`,
536+
`compatibility`, `metadata`, and `allowed-tools` are spec-valid top-level
537+
frontmatter fields; TeaPrompt's governance fields live under `metadata:`.
483538

484539
## Security Notes
485540

@@ -489,11 +544,29 @@ Use symlink installs only for your own workspace, not as the default team instal
489544
- Do not grant tool permissions or hooks unless the skill genuinely needs them.
490545
- Keep high-risk workflows behind `reflective-risk`.
491546

547+
### Enforcing TeaPrompt's review gates host-side
548+
549+
TeaPrompt skills declare intent via `metadata.human_review_required`; hosts, not
550+
TeaPrompt, enforce it. When installing `reflective-risk` or `flow-loop-harness`
551+
(both `human_review_required: true`), map the declaration to your host's
552+
invocation control:
553+
554+
| Host | Mechanism |
555+
| --- | --- |
556+
| Claude Code | add `disable-model-invocation: true` to your installed copy so only explicit `/skill-name` runs it |
557+
| Codex | `agents/openai.yaml` with `policy.allow_implicit_invocation: false` |
558+
| Gemini CLI | activation already shows a per-skill consent prompt; keep it enabled |
559+
560+
These are host features documented at the sources below; TeaPrompt cannot
561+
verify or enforce them (runtime-trust boundary).
562+
492563
## Sources
493564

565+
- Agent Skills specification: https://agentskills.io/specification
494566
- Claude Code skills docs: https://code.claude.com/docs/en/skills
567+
- Codex skills docs: https://learn.chatgpt.com/docs/build-skills
568+
- Gemini CLI skills docs: https://geminicli.com/docs/cli/skills/
495569
- OpenAI skills repository: https://github.com/openai/skills
496-
- OpenAI Codex use cases: https://developers.openai.com/codex/use-cases
497570
- Google Antigravity skills docs: https://antigravity.google/docs/skills
498571
- OpenCode skills docs: https://opencode.ai/docs/skills
499572
- Cursor rules docs: https://docs.cursor.com/en/context

reflective-prompt-library/SKILL_INSTALLATION.zh-TW.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ Language: [English](SKILL_INSTALLATION.md) | 繁體中文
44
55
# Skills 安裝指南
66

7-
最後確認日期:2026-07-06
7+
最後確認日期:2026-07-11
88

99
本文件說明如何把 TeaPrompt 的 workflow skills 安裝到:
1010

1111
- Claude Code
1212
- Codex
13+
- Gemini CLI
1314
- Cursor
1415
- Antigravity CLI / IDE
1516
- OpenCode
@@ -57,6 +58,18 @@ mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
5758
cp -R reflective-prompt-library/skills/reflective-* "${CODEX_HOME:-$HOME/.codex}/skills/"
5859
```
5960

61+
## Gemini CLI
62+
63+
- 工作區層:`.gemini/skills/``.agents/skills/``.agents/skills` 優先)
64+
- 使用者層:`~/.gemini/skills/``~/.agents/skills/`
65+
66+
```bash
67+
gemini skills link "$(pwd)/reflective-prompt-library/skills/reflective-brief" --scope user
68+
gemini skills list --all
69+
```
70+
71+
啟用 skill 時會出現安全確認提示;免費層 Gemini CLI 將由 Antigravity CLI 取代(詳見英文版)。
72+
6073
## Cursor
6174

6275
建議優先使用:

0 commit comments

Comments
 (0)