Skip to content

feat(opencode): Add inline $skill invocations#22666

Closed
mario-loomia wants to merge 15 commits into
anomalyco:devfrom
mario-loomia:feat/15617-inline-skills
Closed

feat(opencode): Add inline $skill invocations#22666
mario-loomia wants to merge 15 commits into
anomalyco:devfrom
mario-loomia:feat/15617-inline-skills

Conversation

@mario-loomia
Copy link
Copy Markdown

@mario-loomia mario-loomia commented Apr 15, 2026

Issue for this PR

#15617

Type of change

  • New feature

What does this PR do?

This adds inline $skill support to the prompt composer.

Typing $ surfaces available skills in autocomplete, and selecting one inserts the skill into the prompt.

How did you verify your code works?

  • Ran bun test test/tool/bash.test.ts
  • Ran bun run typecheck
  • Verified the inline skill flow locally in the app

Screenshots / recordings

Screenshot From 2026-04-15 00-31-37

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions
Copy link
Copy Markdown
Contributor

Hey! Your PR title TUI: Add inline $skill invocations doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@mario-loomia mario-loomia changed the title TUI: Add inline $skill invocations feat(tui): Add inline $skill invocations Apr 15, 2026
@mario-loomia mario-loomia changed the title feat(tui): Add inline $skill invocations feat(opencode): Add inline $skill invocations Apr 15, 2026
@aizigao
Copy link
Copy Markdown

aizigao commented May 8, 2026

marked, need this

@github-actions
Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

@jjdubski
Copy link
Copy Markdown

This would be a great feature; currently, I can only use one skill at a time. This would be a better way to invoke skills in line using the prompt, rather than just the beginning. @adamdotdevin

@magnuslarsen
Copy link
Copy Markdown

I agree - this seems like a sensible (and common across other code agents) solution, that fits in nicely with OpenCode :-)

I'm looking forward to this being added!

@jjdubski
Copy link
Copy Markdown

@magnuslarsen and others who are interested, see #29217, I cleaned up the code and made a new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants