aatmmr/Remove agentic files

Remove agentic files, for example AGENTS.md, CLAUDE.md or .cursor/, from a checked out repository. The action works on Linux, Windows and macOS.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
agentsCoding agents whose built-in pattern list the action uses. Separate the keys with a comma or a line break. Use "all" to select every known agent. Known keys: agents, aider, amazonq, claude, cline, codex, continue, copilot, cursor, gemini, junie, kiro, opencode, roo, windsurf. The default is empty, so the action removes nothing without a selection.no""
patternsAdditional glob patterns, one per line. A line that starts with "#" is a comment. A line that starts with "!" protects its matches. The action does not add a recursion. Write "**/AGENTS.md" for a recursive search.no""
configPath to a plain text file with one glob pattern per line. The action resolves a relative path against GITHUB_WORKSPACE and requires the path to remain inside it. The action fails if the path is set but the file does not exist.no""
working-directoryRoot of the search. The action resolves a relative path against GITHUB_WORKSPACE and requires the path to remain inside it.no.
dry-runReport the matches, but delete nothing.nofalse
fail-on-no-matchFail if a pattern finds no match.nofalse
follow-symbolic-linksFollow a symbolic link during the search.nofalse
summaryLocation of the report. Use "inline" for the step log, "job-summary" for the job summary page, or "none" for no report.noinline
namedescription
deleted-filesJSON array with every deleted path, relative to the search root. In dry-run mode, this output lists the paths that the action would remove.
deleted-countNumber of deleted paths. In dry-run mode, this output is the number of paths that the action would remove.