mars-new-project

mars-new-project is a skill for Claude Code from andrea-magni/MARS. It costs 141 tokens per session (2,879 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-curiosity 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-curiosity, 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 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,879 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.00141 $0.02879
Opus 5.5 $0.00056 $0.01152
Sonnet 5.5 $0.00028 $0.00576
Haiku 4.5 $0.00014 $0.00288

Measured 3d ago against content hash bcd19670733d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3d 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 · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 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(...). This JAX-RS style is the primary MARS model. As an addition (not a replacement), endpoints can also be defined as routes in code (Server.Routes*.pas, MARS.Core.Routes, Express style), next to the resources.

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, outside the MARS folder (the setup's uninstaller deletes the MARS folder; MARSCmd uses Documents\MARS Projects\<name>). The .dproj search paths and the RootFolder of Server.Resources.OpenAPI.pas refer to the MARS folder as ..\..\ ({bin}\..\..\..\): outside Demos\ rewrite them as $(MARSDIR)\ (IDE environment variable set by the setup) and drop the ..\..\Source in clause/DCCReference of MARS.Linux.Daemon, as MARSCmd does.
  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.

Read the full file on GitHub · 95 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. 3d ago Changed bcd19670733d
  2. 4d ago Changed 9258b682b859
  3. 14d ago Changed d7e3d1935181
  4. 1mo ago Changed 6151036d75f7
  5. 1mo ago Changed · +10 lines · +22 tokens per session 32555123195a
  6. 1mo ago Changed · +8 lines eb97714303a7
  7. 1mo ago Changed · +7 lines 86f15e491185
  8. 1mo ago Changed 3ddc303b7b06
  9. 1mo ago Changed 10e74a3d1468
  10. 3mo 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 (400 stars, last pushed 3d ago), licensed MPL-2.0. It adds 141 tokens to every session and 2,879 once invoked, about $0.0006 per session on Opus 5.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

mars-new-project compared with skills from other repositories

mars-new-project next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mars-new-projectandrea-magni/MARSSkill4003d agoMPL-2.0A141Claude Code
spring-bootpiomin/claude-ai-spring-bootSkill1.5k4d agoApache-2.0A36Claude Code
java-modernpiomin/claude-ai-spring-bootSkill1.5k4d agoApache-2.0A46Claude Code
horse-database-poolingHashLoad/horseSkill1.4k21d agoMITA30Claude Code, Codex
horse-mvc-architectureHashLoad/horseSkill1.4k21d agoMITA34Claude Code, Codex
horse-request-responseHashLoad/horseSkill1.4k21d agoMITA32Claude Code, Codex
horse-dependency-injectionHashLoad/horseSkill1.4k21d agoMITA27Claude Code, Codex