backend

backend is a command for Claude Code from datathings/marketplace. It costs 36 tokens per session (6,685 once invoked), scanned B, original, Apache-2.0.

A command that reviews a GreyCat backend, the server-side part of an application, across code quality, safety, performance, concurrency, APIs, tests, and recommended practices.

In plain words
What is it for?
Use it after each sprint, before releases, or during refactoring to review and improve backend code.
Why use it?
It looks for problems that a basic linter, which checks code formatting and common errors, may not find, then helps clean them up interactively.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; positional $N argument.

Part of the greycat plugin — 1 skill, 8 commands shipped together

Good fit Use it after each sprint, before releases, or during refactoring to review and improve backend code.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/datathings/marketplace/backend
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.

Clone the repo
git clone --depth 1 https://github.com/datathings/marketplace

Made for: Claude Code.

Or install greycat, the plugin that ships this one along with the rest of its 1 skill, 8 commands.

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 backend

README.md
[![agentmods](https://agentmods.dev/badge/commands/datathings/marketplace/backend/github.svg)](https://agentmods.dev/commands/datathings/marketplace/backend)
Your own site
<a href="https://agentmods.dev/commands/datathings/marketplace/backend"><img src="https://agentmods.dev/badge/commands/datathings/marketplace/backend/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.

agentmods 80×15 button for backend

Your own site · 80×15
<a href="https://agentmods.dev/commands/datathings/marketplace/backend"><img src="https://agentmods.dev/badge/commands/datathings/marketplace/backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,685 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00036 $0.06685
Opus 5.5 $0.00014 $0.02674
Sonnet 5.5 $0.00007 $0.01337
Haiku 4.5 $0.00004 $0.00668

Measured 3mo ago against content hash f1834996a5e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

backend scanned grade B with 1 finding 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 3mo 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

**Always confirm before wiping** — even in a full default run. `rm -rf gcdata` destroys the local graph; ask first (AskUserQuestion: wipe & run / run without wiping / skip the suite). If the user declines the wipe-and-ru

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

plugins/greycat/commands/backend.md · 374 lines

How it starts

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

Backend Review & Cleanup

Purpose: One deep pass over the GCL backend across seven dimensions — dead code & duplication, anti-patterns, type safety, performance & concurrency, @expose API security/design, test coverage, best-practice gaps — followed by interactive cleanup. This is the single hub for backend quality (it replaces the old separate apicheck / typecheck / optimize / coverage commands).

Run After: each sprint, before releases, during refactors. Run when greycat lint already passes — every check here targets what the linter cannot see.

Companion: for the web UI use /greycat:frontend.


Scope — arguments: $ARGUMENTS

Default = everything. No upfront questions — resolve the scope from the arguments above and go. The only interactive moments are the gcdata-wipe confirm (Dimension 6) and the Cleanup menu at the end.

  • Empty → run all seven dimensions.
  • help → print the dimension table below (keyword + what it covers) and stop — do not run the review.
  • One or more keywords → run only those dimensions.
  • Unknown keyword → print the dimension table, point out the bad keyword, and stop.
Keyword Dimension
dead-code 1 — Dead code & duplication
antipatterns 2 — Anti-patterns (correctness & safety)
types 3 — Type safety beyond lint
perf 4 — Performance & concurrency
api 5 — @expose API (security · performance · design)
tests 6 — Test coverage (always confirms before wiping gcdata)
practices 7 — Best-practice gaps

Example: /greycat:backend api tests runs only Dimensions 5 + 6.

Any dimension not run — out of scope or a declined prerequisite — must appear in the Output as SKIPPED: <reason>, never silently omitted (a silent skip reads as "clean").


How to run this review — ultrathink + ultracode

Ultrathink (always). Reason deeply. State assumptions explicitly; when two readings exist (nodeIndex vs Map, persisted vs @volatile, plain fn service vs abstract type), name both and pick with a reason. Read lib/std/*.gcl for real examples instead of guessing by analogy. A finding you cannot tie to a concrete failure or a canonical rule is not a finding.

Read the full file on GitHub · 374 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. 3mo ago First seen · 374 lines · 36 tokens per session scan B f1834996a5e0

Subscribe to this mod's changes

backend is a command published in the GitHub repository datathings/marketplace (12 stars, last pushed 3d ago), licensed Apache-2.0. It adds 36 tokens to every session and 6,685 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

backend compared with commands from other repositories

backend next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
backenddatathings/marketplaceCommand123d agoApache-2.0B36Claude Code
evaluate-connectorfivetran/connector_sdk_toolsCommand92yesterdayMITA17Claude Code
check-syncro-apisadvenimus/syncromsp-mcpCommand1020d agoMITA37Claude Code
documentlgbarn/shipyardCommand671mo agoMITA13Claude Code
fec-doc-syncbovinphang/frontend-craftCommand2414d agoMITA30Claude Code
api-style-reviewsecondsky/sap-skillsCommand51117d agoGPL-3.0A26Claude Code
connector-reviewdatahub-project/datahub-skillsCommand462mo agoApache-2.0A13Claude Code