drupal-standards

drupal-standards is a skill for Claude Code from blueflyio/openstandardagents. It costs 209 tokens per session (7,112 once invoked), scanned A, original, Apache-2.0.

An agent that checks Drupal code against common coding and project rules. It covers PHP, JavaScript, Twig templates, YAML configuration, Drupal services, deprecated code, and Drupal's AI and page-building components.

In plain words
What is it for?
Use it to run PHP and JavaScript style checks, analyze Drupal code, validate configuration and templates, detect deprecated code, and check Drupal.org compliance.
Why use it?
Drupal projects can fail checks or become difficult to maintain when code does not follow the platform's rules. This agent finds those issues and can apply fixes where supported by its checks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the bluefly-drupal plugin — 4 skills shipped together

Good fit Use it to run PHP and JavaScript style checks, analyze Drupal code, validate configuration and templates, detect deprecated code, and check Drupal.org compliance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blueflyio/openstandardagents/drupal-standards-worker
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 blueflyio/openstandardagents --skill drupal-standards-worker
Clone the repo
git clone --depth 1 https://github.com/blueflyio/openstandardagents

Made for: Claude Code.

Or install bluefly-drupal, the plugin that ships this one along with the rest of its 4 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 drupal-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/blueflyio/openstandardagents/drupal-standards-worker/github.svg)](https://agentmods.dev/skills/blueflyio/openstandardagents/drupal-standards-worker)
Your own site
<a href="https://agentmods.dev/skills/blueflyio/openstandardagents/drupal-standards-worker"><img src="https://agentmods.dev/badge/skills/blueflyio/openstandardagents/drupal-standards-worker/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 drupal-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/blueflyio/openstandardagents/drupal-standards-worker"><img src="https://agentmods.dev/badge/skills/blueflyio/openstandardagents/drupal-standards-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 209 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,112 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.00209 $0.07112
Opus 5.5 $0.00084 $0.02845
Sonnet 5.5 $0.00042 $0.01422
Haiku 4.5 $0.00021 $0.00711

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

Security

Grade A, and why

drupal-standards 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 today.

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.

quarantine/2026-05-15/plugins/bluefly-drupal/skills/drupal-standards-worker/SKILL.md · 835 lines

How it starts

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

Drupal Standards Worker Agent Skill

OSSA Agent: drupal-standards-worker | Version: 2.0.0 | Namespace: blueflyio

This skill invokes the drupal-standards-worker OSSA agent for comprehensive Drupal coding standards validation, auto-fixing, Drupal.org compliance, and validation of the modern Drupal AI ecosystem: drupal/ai, drupal/ai_agents, drupal/ai_agents_ossa, ECA, Orchestration, FlowDrop, Drupal Canvas / SDC components, and DrupalCMS 2.0 site templates.

Quick Start

# Install OSSA SDK (OSSA v0.4.0)
npm i @bluefly/openstandardagents

# Install Drupal Coder + PHPStan
composer require --dev drupal/coder dealerdirect/phpcodesniffer-composer-installer
composer require --dev phpstan/phpstan mglaman/phpstan-drupal

# Install AI module stack
composer require drupal/ai drupal/ai_agents drupal/ai_agents_ossa

# Install orchestration / workflow modules
composer require drupal/eca drupal/orchestration drupal/flowdrop

# Install DrupalCMS 2.0 with Canvas
composer create-project drupal/cms
# or for existing sites:
composer require drupal/canvas

Ecosystem Context (2025–2026)

The Drupal AI ecosystem has converged around a clear architecture as of DrupalCMS 2.0 (January 2026). Standards validation must now cover all layers:

Layer Module(s) Purpose
AI Framework drupal/ai (1.2 stable) Provider abstraction, Tool API, Automators, AI Explorer
Agents drupal/ai_agents (1.2.x) Plugin-based agent framework with Tool API
OSSA drupal/ai_agents_ossa (1.0-alpha) OSSA v0.4.0 manifest validation, 12 templates, REST API
Orchestration drupal/orchestration (1.0) Bi-directional bridge for external automation platforms
Event-driven drupal/eca Event-Condition-Action; integrates with AI Agents and Tool API
Visual Workflows drupal/flowdrop DAG-based no-code workflow builder (n8n/Langflow for Drupal)
Visual Builder drupal/canvas (1.1) Default page builder in DrupalCMS 2.0; SDC-based
AI + Canvas canvas_ai / xb_ai_assistant Prompt-based page building with SDCs
MCP drupal/mcp, drupal/mcp_server Model Context Protocol server for LLM tooling

Read the full file on GitHub · 835 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. today First seen · 835 lines · 209 tokens per session scan A b466d633d385

Subscribe to this mod's changes

drupal-standards is a skill published in the GitHub repository blueflyio/openstandardagents (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 209 tokens to every session and 7,112 once invoked, about $0.0008 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-12-03.

Related

drupal-standards compared with skills from other repositories

drupal-standards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
drupal-standardsblueflyio/openstandardagentsSkill5yesterdayApache-2.0A209Claude Code
md-auditchaitanyagiri/munder-difflinSkill10k5d agoMITA85Claude Code
printing-press-output-reviewmvanhorn/cli-printing-pressSkill5.1ktodayMITA102Claude Code
resolve-review-promnigent-ai/omnigentSkill12ktodayApache-2.0A23Claude Code, Codex
oraclesteipete/oracleSkill4.1k6d agoMITA18Claude Code, Codex
tldr-deepparcadei/Continuous-Claude-v3Skill4.0k17d agoMITA23Claude Code
brutal-honesty-reviewproffesor-for-testing/agentic-qeSkill539yesterdayMITA72Claude Code