Skip to content

feat(cline): add native skills install support#1033

Open
Ayush7614 wants to merge 4 commits into
EveryInc:mainfrom
Ayush7614:feat/cline-native-skills-install
Open

feat(cline): add native skills install support#1033
Ayush7614 wants to merge 4 commits into
EveryInc:mainfrom
Ayush7614:feat/cline-native-skills-install

Conversation

@Ayush7614

@Ayush7614 Ayush7614 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add native Cline support via skills discovery (no Bun --to cline converter), following the same strategy used for Kimi and OpenCode
  • Ship .cline/scripts/install-skills.sh to symlink CE's skills/ directories into ~/.cline/skills/ or .cline/skills/
  • Document install, pinning, local dev, and uninstall in .cline/INSTALL.md and docs/specs/cline.md
  • Update README install sections and the native-plugin install strategy doc

Approach

Cline's extension and CLI load CE through on-demand SKILL.md skills, not through a separate plugin manifest. This PR intentionally avoids a converter target (similar to how #997 was superseded by native Kimi manifests in #998).

Users enable Settings -> Features -> Enable Skills in Cline, run the install script from a checkout, and start a new task.

Test plan

  • ./.cline/scripts/install-skills.sh --global links all CE skills (smoke-tested locally)
  • bun run release:validate passes
  • bun test tests/release-components.test.ts passes

Ship Cline install docs, a symlink-based skills installer, and release
component mapping so CE skills load through Cline's native discovery paths
without a Bun converter target.
@Ayush7614

Copy link
Copy Markdown
Contributor Author

cc: @tmchow

@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: c5cb436147

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread .cline/scripts/install-skills.sh
@tmchow

tmchow commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

@Ayush7614 please resolve conflicts

Resolve conflicts with merged Antigravity install changes and address
Codex review: omit skills with disable-model-invocation from the Cline
symlink installer since Cline auto-activates from description matching.
@Ayush7614

Copy link
Copy Markdown
Contributor Author

@tmchow Conflicts resolved — merged latest main (including #1034 Antigravity install polish). The only manual conflict was in docs/solutions/integrations/native-plugin-install-strategy.md; README and components.ts auto-merged.

Also addressed the Codex P2 on .cline/scripts/install-skills.sh: the installer now skips skills with disable-model-invocation: true (7 skills — lfg, ce-dogfood, ce-polish, ce-setup, ce-promote, ce-product-pulse, ce-test-xcode). Cline auto-activates from description matching and has no manual-only gate, so linking those would let them fire unintentionally.

Docs updated in .cline/INSTALL.md, docs/specs/cline.md, and the install strategy doc.

Validation: bun test 1699 pass / 0 fail, bun run release:validate passes.

@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: 3563b96709

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread .cline/INSTALL.md Outdated

@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: c478a4b2a2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread .cline/scripts/install-skills.sh
Address Codex reviews: default install skips manual-only skills without
promising slash-command access; add --include-manual opt-in with
auto-activation caveats. Default reruns now remove stale manual-only
symlinks left from prior --include-manual installs.
@Ayush7614 Ayush7614 force-pushed the feat/cline-native-skills-install branch from c478a4b to 90c84e4 Compare July 1, 2026 09:06
@Ayush7614

Copy link
Copy Markdown
Contributor Author

cc: @tmchow

if [[ "$INCLUDE_MANUAL" != "true" ]]; then
target="$DEST/$name"
if [[ -L "$target" ]]; then
rm "$target"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

One thing I think we should tighten before merging: this removes any symlink with a manual only skill name, even if that link was not created by this installer. For example, a user could already have ~/.cline/skills/lfg pointing at their own local skill, then a normal CE install would delete it.

Can we make pruning ownership aware? A manifest would be cleanest. A smaller fix would be to only remove the link when its target resolves under this checkout's skills/ directory. That keeps the safety gate for CE manual skills without touching someone else's Cline setup.

When omitting manual-only skills, remove stale links only when the
symlink target resolves under this checkout's skills/ directory so
unrelated ~/.cline/skills/<name> links are preserved. Add script tests.
@Ayush7614

Ayush7614 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Addressed @tmchow's review in f761e81:

Manual-only pruning is now ownership-aware. On a default install (without --include-manual), the script only removes a symlink when it resolves under this checkout's skills/ directory — so an unrelated ~/.cline/skills/lfg pointing at a user's own skill is left alone. Stale CE-owned manual-only links from a prior --include-manual run are still cleaned up.

Added tests/cline-install-skills.test.ts covering both cases. Docs updated in .cline/INSTALL.md and docs/specs/cline.md.

cc: @tmchow

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.

2 participants