mars-new-project

mars-new-project is a skill for Claude Code from andrea-magni/MARS. It costs 119 tokens per session (1,668 once invoked), scanned A, original, MPL-2.0.

A project starter for MARS-Curiosity, a Delphi library for creating REST APIs and web servers. It sets up the host application, server engine, configuration, and request-handling resource classes.

In plain words
What is it for?
Use it when starting a MARS REST API, microservice, web service, or other server host such as a console app, Windows service, or Linux daemon.
Why use it?
It gives a new MARS server the required structure and shows how endpoint URLs are assembled. This avoids working out the project layout and registration steps from scratch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the MARS plugin — 3 skills shipped together

Good fit Use it when starting a MARS REST API, microservice, web service, or other server host such as a console app, Windows service, or Linux daemon.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andrea-magni/mars/mars-new-project
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.

Any agent
npx skills add andrea-magni/MARS --skill mars-new-project
Clone the repo
git clone --depth 1 https://github.com/andrea-magni/MARS

Made for: Claude Code.

Or install MARS, the plugin that ships this one along with the rest of its 3 skills.

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 mars-new-project

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrea-magni/mars/mars-new-project/github.svg)](https://agentmods.dev/skills/andrea-magni/mars/mars-new-project)
Your own site
<a href="https://agentmods.dev/skills/andrea-magni/mars/mars-new-project"><img src="https://agentmods.dev/badge/skills/andrea-magni/mars/mars-new-project/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 mars-new-project

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrea-magni/mars/mars-new-project"><img src="https://agentmods.dev/badge/skills/andrea-magni/mars/mars-new-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,668 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00119 $0.01668
Opus 5 $0.00060 $0.00834
Sonnet 5 $0.00024 $0.00334
Haiku 4.5 $0.00012 $0.00167

Measured 11d ago against content hash 46f132a989a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

mars-new-project 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 11d 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/mars-new-project/SKILL.md · 70 lines

How it starts

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

Create a new MARS server project

MARS-Curiosity (https://github.com/andrea-magni/MARS) is a REST library for Delphi. A MARS server has three moving parts, regardless of host type:

  1. A project file (.dpr) — the host: console app, VCL/FMX form, Windows service, ISAPI dll, Apache module, or Linux daemon. The host creates an HTTP server (typically TMARShttpServerIndy) bound to the engine.
  2. Server.Ignition.pas — creates the singleton IMARSEngine (TServerEngine.Default), loads configuration, and registers applications with AddApplication(AName, ABasePath, AResourceMasks).
  3. Resource units (Server.Resources.*.pas) — plain classes annotated with attributes ([Path], [GET], [Produces], ...) and registered in their initialization section via MARSRegister(...).

Endpoint URLs compose as: engine base path (/rest by default) + application base path (/default) + resource [Path] + method [Path]. So the HelloWorld template answers at http://localhost:8080/rest/default/helloworld.

Two ways to scaffold

Option A — copy the official template (recommended for full projects)

Demos/MARSTemplate/ in the MARS repository is the canonical project group: console host, VCL form host, FMX host, Windows service, ISAPI, Apache module, FCGI, Linux daemon, tests, and an FMX client — all sharing the same Server.Ignition.pas and resource units. To scaffold:

  1. Copy the whole Demos/MARSTemplate folder to the target location.
  2. Rename files and rename the MARSTemplate prefix inside .dpr/.dproj/.groupproj files to the new project name (keep Server.*.pas unit names as they are — the engine registers resources by unit name mask 'Server.Resources.*').
  3. Delete the host flavors the user does not need.
  4. Rename the ini file in bin/ to match the new executable name.

There is also Demos/MARSTemplateDCS/ — the same template running on Delphi Cross Socket instead of Indy — if the user asks for the DCS transport.

Option B — generate a minimal project from bundled templates

Read the full file on GitHub · 70 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 70 lines · 119 tokens per session scan A 46f132a989a4

Subscribe to this mod's changes

mars-new-project is a skill published in the GitHub repository andrea-magni/MARS (394 stars, last pushed 21d ago), licensed MPL-2.0. It adds 119 tokens to every session and 1,668 once invoked, about $0.0006 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.