Skip to content

Add: Grok host skill placement - #9

Closed
0xLeif wants to merge 6 commits into
leif/skills-v0-2-lifecyclefrom
leif/skills-grok-host
Closed

0xLeif wants to merge 6 commits into
leif/skills-v0-2-lifecyclefrom
leif/skills-grok-host

Conversation

@0xLeif

@0xLeif 0xLeif commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add managed host grok → repository-local .grok/skills/<skill>
  • Wire install / status / update / uninstall / --host auto the same as Codex, Claude, Cursor
  • Prove placement end-to-end with fledge let find skills --host grok
  • CI dogfoods all four hosts and runs a dedicated Let discovery proof for Grok

Depends on #8 (managed skills lifecycle).

Exact Let evidence (local dogfood)

bin/corvid-skills install agent-coordination --repo <consumer> --host grok
bin/corvid-skills install fledge-workflows --repo <consumer> --host grok
fledge let find skills --scope project --host grok --repo <consumer> --cwd <consumer> --json

Result (project-scope rows only; Let 0.2 may also federate user-global Grok skills):

name host scope path
agent-coordination grok project .grok/skills/agent-coordination/SKILL.md
fledge-workflows grok project .grok/skills/fledge-workflows/SKILL.md

After uninstall:

bin/corvid-skills uninstall agent-coordination --repo <consumer> --host grok
fledge let find skills --scope project --host grok --repo <consumer> --cwd <consumer> --query agent-coordination --json

→ no project-scope agent-coordination under the consumer repo.

Test Plan

  • fledge lanes validate . --strict
  • fledge lanes run verify (installer tests include Let find skills when fledge let is available)
  • fledge lanes run audit (gitleaks clean)
  • Local Let find skills dogfood for host grok (table above)
  • CI: host matrix includes grok + “Prove Grok placement with Let find skills”

Usage

fledge plugins install CorvidLabs/skills
fledge skills install agent-coordination --host grok
fledge let find skills --scope project --host grok --json
fledge skills uninstall agent-coordination --host grok

0xLeif added 3 commits August 1, 2026 13:43
Teach the managed installer the repository-local Grok skill path so install,
status, update, and uninstall track .grok/skills the same way as Codex,
Claude, and Cursor.
Extend installer tests and CI dogfood so managed .grok/skills installs are
discovered by fledge let find skills for host grok, then disappear after uninstall.
@0xLeif

0xLeif commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

End-to-end proof: Grok host + Let find skills

Revision: 6002fb0 on leif/skills-grok-host

Commands

fledge lanes run verify   # pass
fledge lanes run audit    # pass (gitleaks: no leaks)

Installer → filesystem → Let

bin/corvid-skills install agent-coordination --repo <consumer> --host grok
bin/corvid-skills install fledge-workflows --repo <consumer> --host grok
fledge let find skills --scope project --host grok --repo <consumer> --cwd <consumer> --json

Project-scope discoveries (asserted):

  • agent-coordination host=grok path=.grok/skills/agent-coordination/SKILL.md
  • fledge-workflows host=grok path=.grok/skills/fledge-workflows/SKILL.md
bin/corvid-skills uninstall agent-coordination --repo <consumer> --host grok
fledge let find skills --scope project --host grok --query agent-coordination --json

After uninstall: zero project-scope agent-coordination rows under the consumer.

Installer tests now exercise this path when fledge let is present; CI installs CorvidLabs/let and runs the same proof.

The CorvidLabs/let plugin build hook requires Bun; install it so the Grok
placement proof can run fledge let find skills on ubuntu-latest.
@0xLeif

0xLeif commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

CI green + Let proof

Run: https://github.com/CorvidLabs/skills/actions/runs/30715657560
Job step: Prove Grok placement with Let find skills ✅
Head: 444a6c0

What CI executed

  1. Install Bun (Let plugin build hook)
  2. fledge plugins install CorvidLabs/let
  3. fledge skills install agent-coordination --host grok
  4. fledge skills install fledge-workflows --host grok
  5. fledge let find skills --scope project --host grok --json → assert project rows for both skills under .grok/skills/
  6. fledge let find skills --query agent-coordination → assert single project hit

Local verification (same assertions)

fledge lanes run verify  # pass (includes Let branch of tests/installer.sh)
fledge lanes run audit   # pass

Project-scope Let hits after install:

  • agent-coordination → .grok/skills/agent-coordination/SKILL.md
  • fledge-workflows → .grok/skills/fledge-workflows/SKILL.md

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 444a6c0395

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml Outdated
export PATH="${BUN_INSTALL}/bin:${PATH}"
command -v bun
bun --version
fledge plugins install CorvidLabs/let --yes --non-interactive

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pin the Let release used by CI

When the default branch or tags in CorvidLabs/let change, this integration step starts building and testing that new code while Fledge remains pinned to v1.7.2, so an unchanged skills commit can begin failing because of an upstream output, CLI, or build change. The assertions also explicitly target the Let 0.2 payload shape; install a tested tag or revision using the owner/repo@tag source syntax documented in README.md:21-24.

Useful? React with 👍 / 👎.

0xLeif added 2 commits August 1, 2026 14:15
- Recognize openai as a managed host with .openai/skills/<skill> destination

- Update installer usage, status, and auto-resolution for openai

- Document OpenAI host in README compatibility table

- Add installer tests covering openai install, status, uninstall, auto host, and Let skill discovery

- Include openai in CI dogfood host loop
@0xLeif

0xLeif commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #11, which merged the reviewed Grok lifecycle integration and its CI fixes.

@0xLeif 0xLeif closed this Aug 1, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 093e169df2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bin/corvid-skills
Comment on lines +132 to +138
find . -mindepth 1 -print0 | LC_ALL=C sort -z | while IFS= read -r -d '' entry; do
if [[ -d "$entry" ]]; then
printf 'directory\0%s\0' "$entry"
elif command -v shasum >/dev/null 2>&1; then
printf 'file\0%s\0%s\0' "$entry" "$(shasum -a 256 "$entry" | awk '{print $1}')"
else
sha256sum "$file"
printf 'file\0%s\0%s\0' "$entry" "$(sha256sum "$entry" | awk '{print $1}')"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve compatibility with recorded content digests

When a repository contains an install created by the previous catalog version, its manifest stores the old file-only digest, but this new algorithm always produces a different path/type-aware digest for the unchanged directory. After upgrading the catalog, status therefore reports every existing install as modified, and the lifecycle guards refuse both update and uninstall; retain legacy-digest verification or version/migrate the digest format before switching algorithms.

Useful? React with 👍 / 👎.

Comment thread .github/workflows/ci.yml
shell: bash
run: |
# Let’s fledge plugin build hook requires Bun.
curl -fsSL https://bun.sh/install | bash

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pin the Bun release used by the Let build

When the Bun installer’s default release changes, this step begins building the pinned Let v0.2.0 plugin with a different runtime even though the skills commit is unchanged, so an upstream Bun regression or compatibility change can break this integration lane nondeterministically. Install an explicitly tested Bun version rather than executing the installer without a version selection.

Useful? React with 👍 / 👎.

@0xLeif
0xLeif deleted the leif/skills-grok-host branch August 2, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant