feat: expand agent skill management - #35
Open
chaim0m wants to merge 2 commits into
Open
Conversation
chaim0m
marked this pull request as ready for review
August 2, 2026 13:38
taltultc
reviewed
Aug 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dci skill listwith byte sizes and estimated token countsdci skill update [agent]with local-edit protection and--force--dirfor non-standard agent configuration locationsdci skill --allfor every detected supported agentPart of #13. Ambient customer, anomaly, and budget context is intentionally deferred because it needs a bounded API aggregate rather than multiple hidden client calls.
Test methods
Automated validation run on this branch:
go test ./... go vet ./...Manual validation in a disposable directory:
The first update should protect the local edit and refuse to overwrite it. The explicit
--forceupdate should restore the embedded skill.Observed smoke test: the embedded payload contains 7 files, 18,804 bytes, and approximately 4,703 tokens.
Could this break things?
Risk: low-medium. This only writes inside a selected agent skill directory and does not call DCI APIs or touch customer data. Normal updates refuse to overwrite local edits. The main overwrite risk is an operator deliberately using
--forceor selecting the wrong--dir.