ai4curation/GitHub AI Mention Detector
Detects and validates AI agent mentions in GitHub issues, PRs, and comments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for API access. E.g secrets.PAT_FOR_PR | yes | — |
| mention-pattern | Regex pattern to match mentions (e.g., "@dragon-ai-agent\\s+please\\s+(.*)") | yes | @dragon-ai-agent+\\s+please\\s+(.*) |
| controllers-file | Path to JSON file containing authorized users | no | .github/ai-controllers.json |
| fallback-controllers | Comma-separated list of fallback authorized users | no | "" |
Outputs
| name | description |
|---|---|
| qualified-mention | Whether this is a qualified mention from an authorized user |
| prompt | The extracted prompt/request text |
| user | GitHub username who made the request |
| item-type | Type of GitHub item (issue or pull_request) |
| item-number | GitHub issue or PR number |
| controllers | Formatted list of authorized controllers |