system-information

system-information is a skill for Claude Code, Codex from symfony/ai-mate. It costs 65 tokens per session (731 once invoked), scanned A, a copy of mate-system-information, MIT.

A guide for checking which PHP packages and versions are actually installed. Composer is PHP's package manager, and composer.lock records the exact versions selected for a project.

In plain words
What is it for?
Use it to inspect one package, a group of packages, or the lock file while investigating version-specific PHP behavior. Use the separate environment-check guide for PHP itself, the operating system, or extensions.
Why use it?
It prevents debugging against version assumptions from composer.json, which states allowed ranges rather than the exact code running. This is useful when a class, method, or argument appears to be missing.

Skill for Claude CodeCodex

About the project

Symfony AI Mate is a command-line assistant and MCP server that gives coding agents access to development tools tailored to a Symfony project. Developers and agents use it during development to inspect tools and run project-aware commands directly.

symfony/ai-mate · 33 stars · on GitHub · symfony.com

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.

agentmods
npx agentmods add skills/symfony/ai-mate/system-information
Any agent
npx skills add symfony/ai-mate --skill system-information
Clone the repo
git clone --depth 1 https://github.com/symfony/ai-mate

Made for: Claude Code, Codex.

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 system-information

README.md
[![agentmods](https://agentmods.dev/badge/skills/symfony/ai-mate/system-information.svg)](https://agentmods.dev/skills/symfony/ai-mate/system-information)
Your own site
<a href="https://agentmods.dev/skills/symfony/ai-mate/system-information"><img src="https://agentmods.dev/badge/skills/symfony/ai-mate/system-information.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 731 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 98% copy Near-identical to another mod 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.00065 $0.00731
Opus 5 $0.00032 $0.00365
Sonnet 5 $0.00013 $0.00146
Haiku 4.5 $0.00006 $0.00073

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

Security

Grade A, and why

system-information 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 5d 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.

Origin

This is a copy

98% identical to mate-system-information — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/system-information/SKILL.md · 62 lines

How it starts

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

System Information

Use this skill when a problem might depend on the installed dependency versions rather than the code: a bug that looks like a version mismatch, a method, argument, or class that does not exist in the release that is actually installed.

Capabilities

Need Use
PHP version, OS, OS family, loaded extensions php-environment-check skill
Installed version of a package composer show <vendor/package>
Installed versions of a family of packages composer show '<vendor>/<prefix>*'
Authoritative record of every installed version composer.lock (packages / packages-dev)

The php-environment-check skill reports the runtime only, it does not return package versions. Use Composer for those.

Resolving package versions

composer.json declares constraints (what is allowed); composer.lock records what is actually installed. For "what is really running", trust the lock, not the constraint.

  • One package: composer show symfony/console → installed version plus details.
  • A family: composer show 'symfony/ai-*' → every matching package and its version.
  • Machine-readable: composer show --format=json symfony/console.
  • No Composer binary, or you want the raw record: look the package up by name under packages in composer.lock and read its version field, but do not load the whole lock file into context.

Monorepo / path-repo note: locally linked packages (for example symlinked symfony/ai-* in this repository) report dev-main or a path reference instead of a semver tag, and that is the working copy, not a released version.

Diagnosing a version mismatch

  1. Identify the package behind the failing API; the namespace usually maps to it (Symfony\Component\Console\…symfony/console).
  2. Read the installed version with composer show <package> (or from composer.lock).
  3. Compare it against the version the code expects: a method or argument added in a newer minor, or removed/renamed in a newer major, is the classic signature.
  4. Report the gap precisely: name the package, the installed version, and the required one: "symfony/console is 6.4 (installed), but the code calls a 7.1 API."

Read the full file on GitHub · 62 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. 5d ago First seen · 62 lines · 65 tokens per session scan A fb3d84629533

Subscribe to this mod's changes

system-information is a skill published in the GitHub repository symfony/ai-mate (33 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 731 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to mate-system-information, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

mate-system-information

Resolve which dependency versions are actually installed, from composer show and composer.lock, when diagnosing version-specific behavior such as a method, argument or class that does not exist in the release that is really running. For the PHP runtime itself (version, OS, loaded extensions) use the…

symfony/ai-demo · 66 tokens

mate-php-environment-check

Check the PHP runtime with server-info, its version, OS, and loaded extensions. Reach for it when a Mate tool itself fails or a capability is missing and you suspect the environment, a missing extension or an old PHP, rather than the app or its config. Not for diagnosing app behavior (profiler, log investigation) or…

symfony/ai-demo · 84 tokens

pennant-development

Use when working with Laravel Pennant the official Laravel feature flag package. Trigger whenever the query mentions Pennant by name or involves feature flags or feature toggles in a Laravel project. Tasks include defining feature flags checking whether features are active creating class based features in app/Features…

laravel/boost · 124 tokens

laravel-best-practices

Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization…

laravel/boost · 114 tokens

Behat BDD Testing

PHP BDD testing with Behat framework using Gherkin feature files, Mink browser extension, context classes, and Symfony integration for behavior-driven acceptance testing.

PramodDutta/qaskills · 37 tokens

rust-agent-handoff

Handoff protocol for the Rust multi-agent development team (rust-architect, rust-developer, rust-testing-engineer, rust-performance-engineer, rust-security-maintenance, rust-code-reviewer, rust-cicd-devops, rust-debugger, rust-critic). Use only when orchestrating subagents via structured YAML files in .local/handoff/.…

bug-ops/zeph · 85 tokens