You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've built a measurement tool (rp-why CE) that empirically measures how well an AGENTS.md configuration is being followed by an AI agent. This creates a feedback loop that's currently missing from the ecosystem: practitioners write AGENTS.md files but have no data on whether those instructions actually work.
For each measurable instruction in an AGENTS.md file:
Implicit command adherence - when a trigger phrase is used, does the agent execute the expected action?
Dead instruction detection - which instructions have never been triggered across N sessions?
Token waste - what percentage of configuration tokens are spent on instructions that never fire?
Override frequency - how often does the practitioner correct the agent on something the AGENTS.md should have handled?
Why This Matters for the AGENTS.md Spec
Validates spec design decisions. CE data shows which AGENTS.md patterns agents reliably follow. This can inform spec recommendations (e.g., 'tables are more reliably parsed than prose for behavioral instructions').
Supports the Verification section proposal (Discussion: standard section for generated-code safety checks #189). CE can measure whether verification steps declared in AGENTS.md are actually executed. This provides empirical evidence for whether a standard Verification section improves agent behavior.
Provides data on configuration size limits. CE's token waste metric shows when configurations have grown beyond what agents can reliably hold. This could inform spec guidance on recommended configuration length.
Key Finding
Running CE against 20 real Goose sessions with a 13-instruction implicit commands table:
9 of 13 commands are dead (never triggered in the measurement window)
74.9% of configuration tokens are wasted on untriggered instructions
Moving situational commands to project-level AGENTS.md files would reduce waste significantly
This suggests the spec should recommend lean global configurations with situational instructions at the project or subdirectory level - which aligns with the existing nested AGENTS.md guidance.
Summary
I've built a measurement tool (rp-why CE) that empirically measures how well an AGENTS.md configuration is being followed by an AI agent. This creates a feedback loop that's currently missing from the ecosystem: practitioners write AGENTS.md files but have no data on whether those instructions actually work.
Implementation: block/agent-skills#52
What CE Measures
For each measurable instruction in an AGENTS.md file:
Why This Matters for the AGENTS.md Spec
Validates spec design decisions. CE data shows which AGENTS.md patterns agents reliably follow. This can inform spec recommendations (e.g., 'tables are more reliably parsed than prose for behavioral instructions').
Supports the Verification section proposal (Discussion: standard section for generated-code safety checks #189). CE can measure whether verification steps declared in AGENTS.md are actually executed. This provides empirical evidence for whether a standard Verification section improves agent behavior.
Informs the multi-agent context discussion (Need a standardized way to show different AGENTS.md files and/or content to different agents #185). CE's dead instruction detection reveals when instructions are irrelevant to the current agent - supporting the case for agent-specific overlays.
Provides data on configuration size limits. CE's token waste metric shows when configurations have grown beyond what agents can reliably hold. This could inform spec guidance on recommended configuration length.
Key Finding
Running CE against 20 real Goose sessions with a 13-instruction implicit commands table:
This suggests the spec should recommend lean global configurations with situational instructions at the project or subdirectory level - which aligns with the existing nested AGENTS.md guidance.
Links