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.
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craftWrote 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.
[](https://agentmods.dev/commands/thebeardedbearsas/claude-craft/api-endpoint)<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/api-endpoint"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/api-endpoint/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.
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/api-endpoint"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/api-endpoint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00005 | $0.03242 |
| Opus 5.5 | $0.00002 | $0.01297 |
| Sonnet 5.5 | $0.00001 | $0.00648 |
| Haiku 4.5 | $0.00001 | $0.00324 |
Grade A, and why
api-endpoint 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 477 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Création Endpoint API Platform
Tu es un développeur Symfony et API Platform senior. Tu dois créer un endpoint API REST complet avec validation, documentation OpenAPI, pagination et tests.
Arguments
$ARGUMENTS
Arguments :
- Ressource (nom de l'entité)
- Opérations (list, get, post, put, patch, delete)
Exemple : /symfony:api-endpoint Product "list,get,post,patch,delete"
MISSION
Étape 1 : Configurer la Ressource API Platform
Entity avec API Platform Attributes
<?php
declare(strict_types=1);
namespace App\Entity;
use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\ApiProperty;
use ApiPlatform\Metadata\ApiFilter;
use ApiPlatform\Metadata\Get;
use ApiPlatform\Metadata\GetCollection;
use ApiPlatform\Metadata\Post;
use ApiPlatform\Metadata\Patch;
use ApiPlatform\Metadata\Delete;
use ApiPlatform\Doctrine\Orm\Filter\SearchFilter;
use ApiPlatform\Doctrine\Orm\Filter\OrderFilter;
use ApiPlatform\Doctrine\Orm\Filter\DateFilter;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Serializer\Annotation\Groups;
#[ORM\Entity(repositoryClass: {Entity}Repository::class)]
#[ORM\Table(name: '{entities}')]
#[ApiResource(
operations: [
new GetCollection(
uriTemplate: '/{entities}',
normalizationContext: ['groups' => ['{entity}:list']],
paginationEnabled: true,
paginationItemsPerPage: 20,
),
new Get(
uriTemplate: '/{entities}/{id}',
normalizationContext: ['groups' => ['{entity}:read']],
),
new Post(
uriTemplate: '/{entities}',
denormalizationContext: ['groups' => ['{entity}:write']],
validationContext: ['groups' => ['Default', '{entity}:create']],
security: "is_granted('ROLE_USER')",
),
new Patch(
uriTemplate: '/{entities}/{id}',
denormalizationContext: ['groups' => ['{entity}:write']],
security: "is_granted('ROLE_USER') and object.getOwner() == user",
),
new Delete(
uriTemplate: '/{entities}/{id}',
security: "is_granted('ROLE_ADMIN')",
),
],
order: ['createdAt' => 'DESC'],
)]
#[ApiFilter(SearchFilter::class, properties: [
'name' => 'partial',
'status' => 'exact',
])]
#[ApiFilter(OrderFilter::class, properties: ['createdAt', 'name'])]
#[ApiFilter(DateFilter::class, properties: ['createdAt'])]
class {Entity}
{
#[ORM\Id]
#[ORM\Column(type: 'uuid', unique: true)]
#[ORM\GeneratedValue(strategy: 'CUSTOM')]
#[ORM\CustomIdGenerator(class: 'doctrine.uuid_generator')]
#[ApiProperty(identifier: true)]
#[Groups(['{entity}:list', '{entity}:read'])]
private ?string $id = null;
#[ORM\Column(length: 255)]
#[Assert\NotBlank(groups: ['{entity}:create'])]
#[Assert\Length(min: 3, max: 255)]
#[Groups(['{entity}:list', '{entity}:read', '{entity}:write'])]
private string $name;
#[ORM\Column(type: 'text', nullable: true)]
#[Groups(['{entity}:read', '{entity}:write'])]
private ?string $description = null;
#[ORM\Column(length: 50)]
#[Assert\Choice(choices: ['draft', 'published', 'archived'])]
#[Groups(['{entity}:list', '{entity}:read', '{entity}:write'])]
private string $status = 'draft';
#[ORM\Column(type: 'decimal', precision: 10, scale: 2, nullable: true)]
#[Assert\PositiveOrZero]
#[Groups(['{entity}:read', '{entity}:write'])]
private ?string $price = null;
#[ORM\ManyToOne(targetEntity: User::class)]
#[ORM\JoinColumn(nullable: false)]
#[Groups(['{entity}:read'])]
private User $owner;
#[ORM\Column(type: 'datetime_immutable')]
#[Groups(['{entity}:list', '{entity}:read'])]
private \DateTimeImmutable $createdAt;
#[ORM\Column(type: 'datetime_immutable', nullable: true)]
#[Groups(['{entity}:read'])]
private ?\DateTimeImmutable $updatedAt = null;
public function __construct()
{
$this->createdAt = new \DateTimeImmutable();
}
// Getters et Setters...
}
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.
- 1mo ago First seen · 477 lines · 5 tokens per session scan A e2c179ecf3e8
api-endpoint is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (107 stars, last pushed 7d ago), licensed MIT. It adds 5 tokens to every session and 3,242 once invoked, about $0.0000 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-09-03.
Other commands, from other repositories
test-suite
Run comprehensive test suite with coverage analysis.
deps-update
Audit and update dependencies safely.
dare-laravel-api
Padrões DARE para APIs REST em Laravel 11 + PHP 8.3. Strict Types, FormRequests, Services, Resources, Repositories, Eloquent + casts, tratamento global de exceções, testes Pest, PHPStan/Larastan nível 8.
tester
Comprehensive testing with parallel execution capabilities.
create
Scaffold a complete new Laravel package with Pest v4, Testbench v10, and Workbench.
test-coverage
Analyze test coverage, identify gaps, and generate missing tests to reach 80%+ coverage.