460 add agent skill flag#463
Draft
SeanAlexanderHarris wants to merge 7 commits into
Draft
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
SeanAlexanderHarris
marked this pull request as draft
July 17, 2026 01:05
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
SeanAlexanderHarris
force-pushed
the
460-add-agent-skill-flag
branch
from
July 17, 2026 01:18
d582f2e to
dd74bd0
Compare
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
--skillflag so an AI agent/workflow invoking the CLI can identify itself, for observability into agentic CLI usage.X-Prolific-Agent-Skillheader) with askill/<value>token folded into the existingUser-Agentheader, alongside theagent/<value>token from Add ai detection to include the agent or model using the cli Closes #459 #462 — avoids relying on a custom header that's likely scrubbed by the backend.User-Agentinto the three request paths that build their own*http.Requestand bypassClient.Execute()(dataset upload, collection export download, batch export download), none of which previously sent anyUser-Agentat all.Stacked on #462 (
459-add-agent-use-detection) since this builds directly on theagentenvAI-agent detection it adds.Closes #460
Test plan
go build ./...go test ./...(excluding the pre-existing, unrelatedcontract_test.TestAPICoveragedrift on this branch lineage)golangci-lint run ./...PROLIFIC_DEBUG=true:--skill cli-command-create study listsendsUser-Agent: prolific-oss/cli/<version> agent/claude-code skill/cli-command-create🤖 Generated with Claude Code