synapse: Skill for Claude Code

.claude/skills/laravel-package/SKILL.md

laravel-package is a skill for Claude Code from RedberryProducts/synapse. It costs 0 tokens per session (2,513 once invoked), scanned A, original, MIT.

Guidance for developing Laravel packages, which are reusable extensions for Laravel applications, with a focus on the Synapse package. It covers setup, configuration, publishing, and testing conventions.

In plain words
What is it for?
Use it when adding or changing Laravel package plumbing, service providers, configuration, migrations, assets, commands, or tests.
Why use it?
It helps package code behave correctly during application startup, configuration caching, publishing, and automated tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions AGENTS.md.

This is RedberryProducts/synapse's own configuration. It tells Claude Code how to work on synapse 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 synapse configures →

Reuse

Borrowing it

Nothing to install: this file belongs to RedberryProducts/synapse. 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/RedberryProducts/synapse/main/.claude/skills/laravel-package/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/RedberryProducts/synapse

Made for: Claude Code.

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 laravel-package

README.md
[![agentmods](https://agentmods.dev/badge/skills/redberryproducts/synapse/laravel-package/github.svg)](https://agentmods.dev/skills/redberryproducts/synapse/laravel-package)
Your own site
<a href="https://agentmods.dev/skills/redberryproducts/synapse/laravel-package"><img src="https://agentmods.dev/badge/skills/redberryproducts/synapse/laravel-package/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 laravel-package

Your own site · 80×15
<a href="https://agentmods.dev/skills/redberryproducts/synapse/laravel-package"><img src="https://agentmods.dev/badge/skills/redberryproducts/synapse/laravel-package.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,513 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.00000 $0.02513
Opus 5.5 $0.00000 $0.01005
Sonnet 5.5 $0.00000 $0.00503
Haiku 4.5 $0.00000 $0.00251

Measured 7d ago against content hash cec01c24e8e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

laravel-package 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 7d 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.

.claude/skills/laravel-package/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.

Laravel Package Development (Synapse)

Distilled from the Laravel 13 package docs, laravelpackage.com, and Synapse's implementation. When these conflict with the repo's existing patterns, follow the repo — the conventions below already match it.

Golden rules

  1. register() binds; boot() wires. In register(): only mergeConfigFrom and container bindings — never resolve services, hit the DB, or touch facades that need a booted app. In boot(): routes, views, publishing, commands, events, gates, schedules.
  2. Config must be cache-safe. No closures in config files (breaks config:cache). Never call env() at runtime outside a config file — bake env-derived logic into the config's default value and read config() everywhere else. (Synapse's production route-guard does exactly this: 'enabled' => (bool) env('SYNAPSE_ENABLED', env('APP_ENV') !== 'production').)
  3. mergeConfigFrom merges only the first level. Don't rely on deep-merging nested config a user partially overrode.
  4. Guard console-only work. Register commands and publish groups inside if ($this->app->runningInConsole()).
  5. Publish host-owned resources with separate tags. Config, migrations, and the application provider are publishable. Compiled dashboard assets stay inside the package and are never published.
  6. Package discovery, not manual registration. The provider is auto-loaded via extra.laravel.providers in composer.json.

Service provider anatomy

public function register(): void
{
    $this->mergeConfigFrom(__DIR__.'/../config/synapse.php', 'synapse');
    // container bindings only
}

public function boot(): void
{
    $this->registerRoutes();                                  // guarded by config
    $this->loadViewsFrom(__DIR__.'/../resources/views', 'synapse');
    $this->registerScheduledTasks();                          // conditional
    if ($this->app->runningInConsole()) {
        $this->registerPublishing();                          // tagged groups
        $this->registerCommands();
    }
}

Read the full file on GitHub · 134 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. 7d ago Changed · +1 lines cec01c24e8e8
  2. 10d ago Changed · +6 lines 802e69d16e73
  3. 1mo ago Changed 672d6be8903f
  4. 2mo ago First seen · 127 lines · 0 tokens per session scan A 3fe79a043c0a

Subscribe to this mod's changes

laravel-package is a skill published in the GitHub repository RedberryProducts/synapse (65 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,513 tokens. 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

laravel-package compared with skills from other repositories

laravel-package next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
laravel-packageRedberryProducts/synapseSkill652d agoMITA0Claude Code
laravel-api-tool-kitahmedesa/laravel-api-tool-kitSkill5336mo agoMITA74Claude Code
laravel-best-practicesgdarko/laravel-vue-starterSkill1467mo agononeA114Claude Code, Codex
create-powergrid-pluginPower-Components/livewire-powergridSkill1.7k6d agoMITA31Claude Code, Codex
laravelericrisco/rsc-harnessSkill5032d agoMITA76Claude Code, Codex
owl-admin-devtools-generatorslowlyo/owl-adminSkill6203d agoMITA82Claude Code, Codex
php-laravelj4flmao/agent-skillsSkill383d agoMITA87Claude Code, Codex