re-search: Skill for Cursor

.cursor/skills/mate-tools/SKILL.md

mate-tools is a skill for Cursor from ineersa/re-search. It costs 56 tokens per session (1,268 once invoked), scanned A, original, MIT.

An operational skill for using Symfony AI Mate, a toolset for inspecting and testing Symfony applications. It covers static code checks, tests, logs, services, the profiler, and runtime information through the project's Docker PHP environment.

In plain words
What is it for?
Calling Mate's PHPStan, PHPUnit, Monolog, profiler, and inspection tools, or finding their Docker-safe command-line equivalents.
Why use it?
It provides repeatable commands and parameter guidance while ensuring checks run in the same container environment as the application.

Skill for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions OpenCode.

This is ineersa/re-search's own configuration. It tells Cursor how to work on re-search 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 re-search configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ineersa/re-search. 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/ineersa/re-search/main/.cursor/skills/mate-tools/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ineersa/re-search

Made for: Cursor.

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 mate-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/ineersa/re-search/mate-tools.svg)](https://agentmods.dev/skills/ineersa/re-search/mate-tools)
Your own site
<a href="https://agentmods.dev/skills/ineersa/re-search/mate-tools"><img src="https://agentmods.dev/badge/skills/ineersa/re-search/mate-tools.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,268 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.
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.00056 $0.01268
Opus 5 $0.00028 $0.00634
Sonnet 5 $0.00011 $0.00254
Haiku 4.5 $0.00006 $0.00127

Measured 8d ago against content hash 448285c4fe25, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mate-tools 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/mate-tool-call.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.cursor/skills/mate-tools/SKILL.md · 134 lines

How it starts

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

Mate Tools

Use this skill when working with Symfony AI Mate capabilities in this repository: static analysis, test execution, logs, Symfony service/profiler inspection, and runtime introspection.

This project runs Mate from the Docker php service. Tool execution should therefore mirror container runtime behavior, not host PHP behavior.

When to use

  • User asks to run or explain Mate tools.
  • User needs schema/parameters for phpstan, phpunit, monolog, or Symfony profiler tools.
  • User wants CLI equivalents for MCP tool calls.
  • User needs repeatable Docker-safe commands for Mate operations.

Required: ALWAYS use the wrapper script

MANDATORY: All Mate MCP tool invocations MUST use the provided wrapper script:

.cursor/skills/mate-tools/scripts/mate-tool-call.sh <tool-name> '<json-input>'

NEVER call docker compose exec ... vendor/bin/mate directly. The wrapper ensures:

  • Correct Docker container context (PHP 8.5 runtime)
  • TOON format output for LLM efficiency
  • Proper stderr suppression of bootstrap noise
  • Consistent environment across all tool calls

Why this wrapper exists

  • Keeps all tool calls inside the php container.
  • Avoids repeating long commands.
  • Standardizes TOON output format for LLM efficiency.

Usage

  • <tool-name>: Mate MCP tool name, e.g. server-info, phpstan-analyse.
  • <json-input>: JSON object string, e.g. '{}', '{"mode":"summary"}'.

Run from repo root (where compose.yaml lives). JSON must be valid. Use single quotes around the JSON string in shell. If Docker stack is down, start it first (make up).

Discovering available tools

docker compose exec -T php php vendor/bin/mate mcp:tools:list --format=toon

Debugging

  • Wrapper hides Mate bootstrap [INFO] lines by default by redirecting stderr.
  • To keep bootstrap logs visible: MATE_TOOL_CALL_SHOW_BOOT_LOGS=1 .cursor/skills/mate-tools/scripts/mate-tool-call.sh ....

Operating rules

  • ALWAYS use the wrapper script for all Mate tool calls.
  • Prefer Mate MCP tools for focused diagnostics and machine-readable output.
  • All tool output uses --format=toon for maximum token efficiency in LLM contexts.
  • Use concise modes first (summary/default), then increase detail only when needed.
  • For direct shell-based quality tasks in this repo, follow project policy and prefer make targets.
  • Keep JSON input explicit and valid; pass {} when a tool expects an object with no required fields.

Read the full file on GitHub · 134 lines

Files

What ships with it

5 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. 8d ago First seen · 134 lines · 56 tokens per session scan A 448285c4fe25

Subscribe to this mod's changes

mate-tools is a skill published in the GitHub repository ineersa/re-search (5 stars, last pushed 5mo ago), licensed MIT. It adds 56 tokens to every session and 1,268 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

systematic-debugging

4-phase root cause debugging: understand bugs before fixing.

NousResearch/hermes-agent · 16 tokens

langsmith-observability

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

davila7/claude-code-templates · 45 tokens

experimental-code-coverage-local-debugger

Runs code coverage locally via Universal Test Runner (UTR) or helper scripts, mimicking LUCI trybots. Activate when CQ tryjobs fail or underreport coverage, to test local GN/recipe repairs before uploading, or to debug hermetic crashes.

chromium/chromium · 59 tokens

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens

cli-e2e

Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.

ComposioHQ/composio · 62 tokens

ios-simulator

Verify and debug native, React Native, Expo, or Flutter apps on an iOS Simulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an iPhone or iPad Simulator.

callstack/agent-device · 69 tokens