faceit-mcp: Command for Claude Code

.cursor/commands/publish.md

publish is a command for Claude Code, Cursor from sebazai/faceit-mcp. It costs 0 tokens per session (522 once invoked), scanned A, original, MIT.

A release command for a Python package that increases its version, commits the change, creates a matching Git tag, and pushes it so a publishing workflow can upload the package to PyPI.

In plain words
What is it for?
Use it to publish a clean release from the main branch after validating the version, build, tests, commit, and tag.
Why use it?
It standardizes the release checks and steps, reducing mistakes when preparing a patch, minor, or major release.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is sebazai/faceit-mcp's own configuration. It tells Claude Code and Cursor how to work on faceit-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything faceit-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sebazai/faceit-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sebazai/faceit-mcp/main/.cursor/commands/publish.md
Clone the repo
git clone --depth 1 https://github.com/sebazai/faceit-mcp

Made for: Claude Code, Cursor.

Wrote 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.

agentmods badge for publish

README.md
[![agentmods](https://agentmods.dev/badge/commands/sebazai/faceit-mcp/publish.svg)](https://agentmods.dev/commands/sebazai/faceit-mcp/publish)
Your own site
<a href="https://agentmods.dev/commands/sebazai/faceit-mcp/publish"><img src="https://agentmods.dev/badge/commands/sebazai/faceit-mcp/publish.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00522
Opus 5 $0.00000 $0.00261
Sonnet 5 $0.00000 $0.00104
Haiku 4.5 $0.00000 $0.00052

Measured 7d ago against content hash 027077eb52ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

publish 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 7d 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.

.cursor/commands/publish.md · 68 lines

What it actually says

/publish (patch|minor|major)

Cut a release by bumping the package version in pyproject.toml, committing the change, and creating + pushing a vX.Y.Z git tag so the publish.yml workflow runs and uploads to PyPI via trusted publishing (OIDC).

This command takes exactly one argument: patch, minor, or major.

When this command is invoked, do the following in order:

  1. Validate the argument is one of patch, minor, major. If not, stop and explain correct usage.

  2. Ensure the git working tree is clean and we are on main:

    git status
    git branch --show-current
    

    If there are uncommitted changes, stop and ask the user to commit/stash them. If not on main, stop and ask the user to switch to main.

  3. Read the current version from pyproject.toml ([project].version) and bump it according to SemVer:

    • patch: X.Y.(Z+1)
    • minor: X.(Y+1).0
    • major: (X+1).0.0

    Then update pyproject.toml in-place to the new version.

  4. Build the distribution locally to catch packaging errors early:

    uv build
    

    If the build fails, stop and report the error.

  5. Commit the version bump:

    git add pyproject.toml
    git commit -m "$(cat <<'EOF'
    Release vX.Y.Z
    
    EOF
    )"
    

    Replace vX.Y.Z with the actual new version (prefixed by v).

  6. Create an annotated git tag for the release:

    git tag -a "vX.Y.Z" -m "vX.Y.Z"
    

    If the tag already exists, stop and report it.

  7. Push the commit and the tag:

    git push origin main
    git push origin "vX.Y.Z"
    
  8. Report back:

    • The new version number
    • The tag created
    • That pushing the tag should trigger .github/workflows/publish.yml (tags v*.*.*) and publish to PyPI from the release GitHub Actions environment.
Changes

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.

  1. 7d ago First seen · 68 lines · 0 tokens per session scan A 027077eb52ca

Subscribe to this mod's changes

publish is a command published in the GitHub repository sebazai/faceit-mcp (0 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 522 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-08-31.