code-submit

A guided workflow for preparing Android, iOS, or backend code for submission. It checks the project type, runs the relevant lint tools, reviews changes without altering their logic, and prepares a GitLab merge request.

In plain words
What is it for?
Linting a project, reviewing changes, documenting manual checks, staging selected files, creating a clean commit, and opening a merge request on GitLab.
Why use it?
It groups code checks, manual verification, staging, and submission into one process with confirmation points. It also requires a target branch before it can continue.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/addxai/enterprise-harness-engineering/code-submit
Any agent
npx skills add addxai/enterprise-harness-engineering --skill code-submit
Clone the repo
git clone --depth 1 https://github.com/addxai/enterprise-harness-engineering

Made for: Claude Code, Codex.

Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,918 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00081 $0.04918
Opus 5 $0.00041 $0.02459
Sonnet 5 $0.00016 $0.00984
Haiku 4.5 $0.00008 $0.00492

Measured 2d ago against content hash 50663bee8a81, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-submit 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 2d 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.

skills/code-submit/SKILL.md · 625 lines

How it starts

The opening of the file, as written. The whole thing — 625 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cross-Platform Code Submission Workflow

Chains 6 stages together, each with a user confirmation gate. Core principle: lint first, review without changing logic, human verification as backstop, clean commit to production.

Prerequisite: The current repository remote points to gitlab.example.com and glab CLI is installed.


Parameter Parsing

Parse from $ARGUMENTS:

  • --target=<branch>: Target branch (required), e.g., --target=test/VH_2.92.0_20260310140519
  • --from=<stage>: Start from a specific stage (optional), values stage1 through stage6, skipping earlier stages
  • --type=<android|ios|backend>: Force a specific project type (optional, defaults to auto-detection)

If --target is not provided, you must ask the user for the target branch before continuing.


Step 0: Project Type Detection

Auto-detect the current project type to determine which specific commands are used in subsequent stages.

Detection Rules (by priority)

  1. Android: build.gradle or build.gradle.kts exists AND **/AndroidManifest.xml exists

    • Lint: ./gradlew :<module>:lint --no-daemon
    • Test directory pattern: src/test/, src/androidTest/
    • Excluded directories: build/, .idea/, .gradle/, debugpanel/, *.iml
  2. iOS: *.xcodeproj or *.xcworkspace or Package.swift exists

    • Lint: swiftlint lint --reporter json
    • Test directory pattern: *Tests/, *UITests/
    • Excluded directories: DerivedData/, .build/, Pods/, *.xcuserstate
  3. Backend (by language):

    • Java/Kotlin (Spring Boot): pom.xml exists OR (build.gradle without AndroidManifest.xml)
      • Lint: ./gradlew checkstyleMain or ./mvnw checkstyle:check
    • Python: pyproject.toml or requirements.txt exists
      • Lint: ruff check . or flake8
    • Go: go.mod exists
      • Lint: golangci-lint run
    • Node.js: package.json exists (without the above characteristic files)
      • Lint: npm run lint or npx eslint .

Read the full file on GitHub · 625 lines

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. 2d ago First seen · 625 lines · 81 tokens per session scan A 50663bee8a81

Subscribe to this mod's changes

code-submit is a skill published in the GitHub repository addxai/enterprise-harness-engineering (44 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 81 tokens to every session and 4,918 once invoked, about $0.0004 per session on Opus 5. 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-30.

Related

Other skills, from other repositories

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump…

addyosmani/agent-skills · 74 tokens

chinese-commit-conventions

中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 65 tokens

peon-ping-create-pack

Internal — invoked headlessly by peon create; humans should run peon create instead. Author and render a brand-new PeonPing draft pack — invoked headlessly as: "Use the peon-ping-create-pack skill to draft a pack: name= flavor= vibe= draftroot= . Follow the skill exactly." Authors all 7 CESP categories honoring the…

PeonPing/peon-ping · 134 tokens

peon-ping-config

Update peon-ping configuration — volume, pack rotation, categories, active pack, and other settings. Use when user wants to change peon-ping settings like volume, enable round-robin, add packs to rotation, toggle sound categories, or adjust any config.

PeonPing/peon-ping · 60 tokens

peon-ping-use

Set which voice pack (character voice) plays for the current chat session. Automatically enables sessionoverride rotation mode if not already set. Use when user wants a specific character voice like GLaDOS, Peon, or Kerrigan for this conversation.

PeonPing/peon-ping · 55 tokens

peon-ping-rename

Rename the current Claude session for peon-ping notifications and terminal tab title. Use when user wants to give this session a custom name like "/peon-ping-rename Auth Refactor". Call with no argument to reset to auto-detect.

PeonPing/peon-ping · 57 tokens