Skip to content

Add an agent skill for driving the proxy - #12

Merged
winebarrel merged 1 commit into
mainfrom
agent-skill
Aug 9, 2026
Merged

Add an agent skill for driving the proxy#12
winebarrel merged 1 commit into
mainfrom
agent-skill

Conversation

@winebarrel

Copy link
Copy Markdown
Owner

The proxy leaves the agent two things it cannot work out from the tool schemas:

  • Which profile to pass. Names are deliberately absent from the schemas, since list_profiles rereads ~/.aws/config on every call. An agent that does not list them first either guesses or fails.
  • What a denial means. An AccessDenied under --sso-role is a decision. Left unsaid, an agent treats it as an obstacle and looks for another profile, another role, or the aws CLI — which carries no profile, is not signed by the proxy, and drops the narrowing entirely.

skills/awsmcproxy/SKILL.md states both, plus the SSO-login case that cannot be completed on the user's behalf and the absence of a per-call region argument.

It sits at skills/ rather than .claude/skills/ so it is installable by any agent:

npx skills add winebarrel/awsmcproxy          # into ./.claude/skills
npx skills add winebarrel/awsmcproxy -g       # into ~/.claude/skills

Verified with npx skills add . -l, which discovers the skill and prints its description.

The proxy leaves the agent two things it cannot work out from the tool
schemas: which profile to pass, and what to do when a call is denied.
Profile names are absent by design, so an agent that does not list them
first either guesses or fails; and an AccessDenied under --sso-role is a
decision, which an agent will otherwise try to route around.

skills/awsmcproxy states both, along with not falling back to the aws CLI
on failure. It sits at skills/ so `npx skills add winebarrel/awsmcproxy`
finds it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@winebarrel
winebarrel enabled auto-merge August 9, 2026 06:00
@codecov

codecov Bot commented Aug 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.40%. Comparing base (65e4c84) to head (1231b05).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #12   +/-   ##
=======================================
  Coverage   98.40%   98.40%           
=======================================
  Files           5        5           
  Lines         377      377           
=======================================
  Hits          371      371           
  Misses          3        3           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@winebarrel
winebarrel merged commit 6d11f4a into main Aug 9, 2026
5 checks passed
@winebarrel
winebarrel deleted the agent-skill branch August 9, 2026 06:01
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