Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/gosha70/code-copilot-teamWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/gosha70/code-copilot-team/publish-plugin)<a href="https://agentmods.dev/commands/gosha70/code-copilot-team/publish-plugin"><img src="https://agentmods.dev/badge/commands/gosha70/code-copilot-team/publish-plugin/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/gosha70/code-copilot-team/publish-plugin"><img src="https://agentmods.dev/badge/commands/gosha70/code-copilot-team/publish-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00471 |
| Opus 5.5 | $0.00000 | $0.00188 |
| Sonnet 5.5 | $0.00000 | $0.00094 |
| Haiku 4.5 | $0.00000 | $0.00047 |
Grade A, and why
publish-plugin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/publish-plugin
Publish the plugin to the Gradle Plugin Portal.
Pre-release checklist
-
gradle/libs.versions.tomlpluginVersionbumped per SemVer (major if a public type was removed/renamed, minor if additive, patch otherwise). - All unit + functional tests green on the version you're about to ship.
-
sample-consumer/builds end-to-end with the new plugin version. - CHANGELOG (or release notes) updated with the same version.
- GitHub Secrets
GRADLE_PUBLISH_KEYandGRADLE_PUBLISH_SECRETconfigured (Plugin Portal API credentials from https://plugins.gradle.org/u/me). -
gradlePlugin { website / vcsUrl / plugins { displayName / description / tags } }inplugin/build.gradle.ktsfilled in (not the template placeholders).
Cut the release
v=$(awk -F'"' '/^[[:space:]]*pluginVersion[[:space:]]*=/ { print $2; exit }' gradle/libs.versions.toml)
git tag -a "v$v" -m "Release v$v"
git push origin "v$v"
The gradle-plugin.yml workflow:
- unit + functional + sample-consumer — gating jobs run as on every push.
- publish (tag-only) — preflights that the version catalog matches the tag, checks for credentials, then runs
./gradlew :plugin:publishPlugins. Skipped with a notice if credentials aren't configured.
If the publish step fails, do not retag with the same version — bump patch and retry. The Plugin Portal does not allow republishing the same coordinates.
Local dry run
# Validate the publication metadata without uploading
./gradlew :plugin:validatePlugins
./gradlew :plugin:publishPluginJar :plugin:generatePomFileForExamplePluginPublication
If you have credentials in ~/.gradle/gradle.properties, you can do a real
publish from your laptop with ./gradlew :plugin:publishPlugins. Prefer the
CI path — the env-var-driven flow is what's reproducible.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 40 lines · 0 tokens per session scan A 3f693ebe8b03
publish-plugin is a command published in the GitHub repository gosha70/code-copilot-team (10 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 471 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
publish-plugin compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| publish-plugingosha70/code-copilot-team | Command | 10 | today | MIT | A | 0 | Claude Code |
| swarm-initruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| release-updatemodu-ai/moai-adk | Command | 1.3k | today | Apache-2.0 | A | 32 | Claude Code |
| release-swarmruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| sync-coordinatorruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| github-modesruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| ng-ship-reviewFlyFission/nuclear-grade-context-engineering | Command | 33 | 6d ago | MIT | A | 32 | Claude Code |