knowledge-platform-jobs: Command for Claude Code

.claude/commands/build.md

build is a command for Claude Code from Sunbird-Knowlg/knowledge-platform-jobs. It costs 14 tokens per session (376 once invoked), scanned A, original, MIT.

A command for building the knowledge-platform-jobs Java project with Maven, optionally for one module and a selected cloud storage profile. Maven is a tool that compiles Java projects and assembles their packages.

In plain words
What is it for?
Use it to build all jobs or selected modules, choose the Azure or another configured storage profile, and produce the resulting job packages.
Why use it?
It provides the correct build variants while skipping tests and reports the relevant module and error when the build fails.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

This is Sunbird-Knowlg/knowledge-platform-jobs's own configuration. It tells Claude Code how to work on knowledge-platform-jobs 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 knowledge-platform-jobs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Sunbird-Knowlg/knowledge-platform-jobs. 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/Sunbird-Knowlg/knowledge-platform-jobs/master/.claude/commands/build.md
Clone the repo
git clone --depth 1 https://github.com/Sunbird-Knowlg/knowledge-platform-jobs

Made for: Claude Code.

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 build

README.md
[![agentmods](https://agentmods.dev/badge/commands/sunbird-knowlg/knowledge-platform-jobs/build.svg)](https://agentmods.dev/commands/sunbird-knowlg/knowledge-platform-jobs/build)
Your own site
<a href="https://agentmods.dev/commands/sunbird-knowlg/knowledge-platform-jobs/build"><img src="https://agentmods.dev/badge/commands/sunbird-knowlg/knowledge-platform-jobs/build.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 376 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.1 $0.00014 $0.00376
Opus 5 $0.00007 $0.00188
Sonnet 5 $0.00003 $0.00075
Haiku 4.5 $0.00001 $0.00038

Measured yesterday against content hash 6ffd90b20fdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

build 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 yesterday.

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.

.claude/commands/build.md · 27 lines

What it actually says

Build knowledge-platform-jobs. Args — module: $1, cloud profile: $2 (either may be empty).

The cloud profile selects the storage connector (default is azure). Choose the command:

  • no args → mvn clean install -DskipTests
  • module only → mvn clean install -DskipTests -pl $1 -am
  • module + profile → mvn clean install -DskipTests -pl $1 -am -P$2
  • profile only → mvn clean install -DskipTests -P$2

Modules: jobs-core, publish-pipeline, content-embedding-job, transaction-event-processor, qrcode-image-generator, dialcode-context-updater, cassandra-data-migration, asset-enrichment, video-stream-generator, jobs-distribution. Job jars land at <module>/target/<name>-1.0.0.jar; jobs-distribution packages all jobs into one image.

Run the command. On success report it briefly. On failure, name the failing module and quote the first relevant error block — not the whole reactor log. (Note: Flink deps are provided; a build is fine, but running locally needs the temporary edits from the README.)

Examples

/build                                    # full build, default (azure) profile
/build transaction-event-processor        # one module + its deps
/build transaction-event-processor aws    # one module, S3 connector profile
/build "" gcloud                          # full build, GCS connector profile
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. yesterday First seen · 27 lines · 14 tokens per session scan A 6ffd90b20fdb

Subscribe to this mod's changes

build is a command published in the GitHub repository Sunbird-Knowlg/knowledge-platform-jobs (4 stars, last pushed 4d ago), licensed MIT. It adds 14 tokens to every session and 376 once invoked, about $0.0001 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-09-04.