ACB-INSTR-002: Instructions do not modify agent configuration or instruction files

FieldValue
Statusdraft
Severityhigh
Check typestatic
Applies toskill, instruction-file
Profilesstrict-general
Exceptionspermitted

Description

No artifact directs the agent, or contains a script that would, create, modify or delete agent instruction files, skill directories, MCP server declarations, agent client settings or hook definitions, other than files the user explicitly names in their request.

Rationale

An artifact that writes to agent configuration can persist itself, install further skills or servers, widen permissions, or alter the instructions every future session starts from. That turns a single load into durable compromise and is invisible in the artifact's own review because the change lands elsewhere.

Audit procedures

config-write-directives (pattern)

No instruction content tells the agent to write to, append to, or replace agent instruction files, skill directories, MCP server declarations, or agent client settings and hooks.

Illustrative failing indicators (non-exhaustive):

config-write-scripts (pattern)

No bundled script writes to paths matching instruction-file names or known agent configuration locations. The checker maintains known locations per client as data; the control applies to all of them.

Remediation

Remove the directive or script. Document the configuration change for the operator to apply deliberately.

References