Skip to content

feat(slimctl): add Claude Code agent skill#1644

Open
Tehsmash wants to merge 2 commits into
mainfrom
slimctl-agent-skill
Open

feat(slimctl): add Claude Code agent skill#1644
Tehsmash wants to merge 2 commits into
mainfrom
slimctl-agent-skill

Conversation

@Tehsmash

Copy link
Copy Markdown
Member

Description

Adds a Claude Code skill for slimctl so that AI agents and Claude Code users get accurate, fast answers when working with slimctl commands — without having to read source code or guess at syntax.

The skill (skills/slimctl/SKILL.md) provides:

  • Full command reference for all slimctl subcommands (node, controller, config, slim, version)
  • Route format documentation (org/namespace/agentname/agentid)
  • Global flags and environment variables
  • Common workflows: mTLS setup, adding routes, managing channels and participants
  • An explicit warning that tls-insecure defaults to true and must be explicitly set to false when configuring TLS certificates (without this, cert files are silently ignored)

The skill was evaluated against 5 test cases comparing with-skill vs without-skill responses. Key finding: with-skill responses are ~2× faster (23s vs 48s avg) and use ~2× fewer tokens (15k vs 33k avg), since without-skill agents fall back to reading source code. One bug was found and fixed during evals — the initial draft incorrectly said TLS was "implicitly enabled" by cert files.

The release workflow (.github/workflows/release-slimctl.yaml) gains a publish-skill job that packages skills/slimctl/ into a slimctl.skill zip artifact and uploads it to the GitHub release alongside the binary tarballs.

Type of Change

  • Bugfix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@Tehsmash Tehsmash requested a review from a team as a code owner May 19, 2026 10:06
@github-actions

github-actions Bot commented May 19, 2026

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow ci-buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMay 19, 2026, 10:21 AM

Comment thread .github/workflows/release-slimctl.yaml Fixed
@codecov

codecov Bot commented May 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Tehsmash added 2 commits June 16, 2026 12:59
Add a Claude Code skill for slimctl under skills/slimctl/SKILL.md.
The skill provides a concise command reference, route format docs,
global flag reference, and common workflows (mTLS setup, route add,
channel management). Includes an explicit warning that tls-insecure
defaults to true and must be set to false when using TLS certificates.

The release workflow is extended with a publish-skill job that packages
the skill directory into a slimctl.skill zip artifact and uploads it to
the GitHub release alongside the binary tarballs.

Refs: #slimctl-agent-skill
Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>
Pass github.ref_name through an env var rather than interpolating
it directly into the shell command, as flagged by zizmor.

Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>
@Tehsmash Tehsmash force-pushed the slimctl-agent-skill branch from 5c4c5af to e9dfa66 Compare June 16, 2026 11:59
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