{"data":{"slug":"mturac-promptguard","name":"promptguard","tagline":"Audits prompts as behavioral contracts for AI agents.","github_url":"https://github.com/mturac/promptguard","owner":"mturac","repo":"promptguard","owner_avatar_url":"https://avatars.githubusercontent.com/u/345446?v=4","primary_language":"Python","stars":76,"forks":1,"topics":["agent-skills","ai-agents","claude-code","cli","codex","devops","guardrails","hermes","hermes-agent","llm-safety","offline","openclaw","opencode","pre-write-guard","prompt-engineering","prompt-linter","prompts","sarif","static-analysis","zero-dependencies"],"archived":false,"github_pushed_at":"2026-07-22T19:19:17+00:00","maintenance_label":"Slowing","stars_delta_30d":-10,"url":"https://www.graphcanon.com/tools/mturac-promptguard","markdown_url":"https://www.graphcanon.com/tools/mturac-promptguard.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/mturac-promptguard","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=mturac-promptguard","description":"Offline prompt-contract auditor for Hermes, Claude Code, Codex, OpenCode & OpenClaw. Pre-write guard before agents ship vague code. Zero deps. No model API.","homepage_url":"https://github.com/mturac/promptguard","license":"MIT","open_issues":0,"watchers":6,"ai_summary":"PromptGuard offers an auditing tool for prompt-based behavior in AI agents to ensure safe and intended code generation.","readme_excerpt":"## Install\n\n```bash\npipx install \"git+https://github.com/mturac/promptguard.git\"\n\n---\n\n# or: pip install -e .\n```\n\n```bash\npromptguard audit path/to/prompt.md --profile coding-agent --fail-on high\n```\n\n---","github_created_at":"2026-04-26T08:34:15+00:00","created_at":"2026-07-15T10:43:57.508088+00:00","updated_at":"2026-10-22T06:00:16.977266+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"evaluation-observability","name":"Evaluation & Observability","url":"https://www.graphcanon.com/categories/evaluation-observability","markdown_url":"https://www.graphcanon.com/categories/evaluation-observability.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/evaluation-observability"}],"tags":[{"slug":"ai-agents","name":"ai-agents"},{"slug":"audit","name":"audit"},{"slug":"prompt-engineering","name":"prompt-engineering"},{"slug":"safety","name":"safety"}],"trust":{"provenance":{"is_fork":false,"github_id":1221460575,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-10-22T06:00:15.320Z","maintenance":{"label":"Slowing","score":36,"methodology":"github_public_v1","releases_90d":0,"days_since_push":91,"last_release_at":"2026-05-16T22:58:31Z","stars_delta_30d":-10,"open_issues_delta_30d":0},"security_summary":{"last_scan_at":"2026-07-15T10:44:00.024908+00:00","scan_profile":"deps","status":"no_lockfile","critical_count":0,"high_count":0,"medium_count":0,"low_count":0,"scanner":"osv@v1","scan_id":"96370766-f90d-4622-92b0-09729ee87922","pending_review_count":0}},"capability_facts":{"mcp":{"method":"github-tree-and-contents@2","reason":"No explicit MCP server declaration was found in the inspected manifests. Other layouts and implementations were not tested.","source":"repo_scan","status":"unknown","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/tree/db69156fb510a8db0a72049299527ecf54c19f3d","observed_at":"2026-10-22T06:00:15.851Z","server_manifest":null},"scan":{"method":"github-tree-and-contents@2","source":"repo_scan","status":"complete","version":2,"coverage":{"scope":"bounded-repository-manifests","tree_complete":true,"selected_files":2,"candidate_files":2},"revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/tree/db69156fb510a8db0a72049299527ecf54c19f3d","observed_at":"2026-10-22T06:00:15.851Z","observations":[{"path":"@revision","bytes":4353,"status":"present","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/commit/db69156fb510a8db0a72049299527ecf54c19f3d","http_status":200,"observed_at":"2026-10-22T06:00:16.055Z"},{"path":"@tree","bytes":27815,"status":"present","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/tree/db69156fb510a8db0a72049299527ecf54c19f3d","http_status":200,"observed_at":"2026-10-22T06:00:16.207Z"},{"path":"adapters/openclaw/plugin/package.json","bytes":230,"status":"present","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/blob/db69156fb510a8db0a72049299527ecf54c19f3d/adapters/openclaw/plugin/package.json","http_status":200,"observed_at":"2026-10-22T06:00:16.343Z"},{"path":"docker-compose.yml","reason":"not-listed-in-complete-tree","status":"not-found","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/tree/db69156fb510a8db0a72049299527ecf54c19f3d","observed_at":"2026-10-22T06:00:16.208Z"},{"path":"Dockerfile","reason":"not-listed-in-complete-tree","status":"not-found","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/tree/db69156fb510a8db0a72049299527ecf54c19f3d","observed_at":"2026-10-22T06:00:16.208Z"},{"path":"mcp.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/tree/db69156fb510a8db0a72049299527ecf54c19f3d","observed_at":"2026-10-22T06:00:16.208Z"},{"path":"package.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/tree/db69156fb510a8db0a72049299527ecf54c19f3d","observed_at":"2026-10-22T06:00:16.208Z"},{"path":"pyproject.toml","bytes":776,"status":"present","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/blob/db69156fb510a8db0a72049299527ecf54c19f3d/pyproject.toml","http_status":200,"observed_at":"2026-10-22T06:00:16.342Z"},{"path":"server.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/tree/db69156fb510a8db0a72049299527ecf54c19f3d","observed_at":"2026-10-22T06:00:16.208Z"}]},"has_cli":{"value":true,"method":"repository-declaration@2","source":"pyproject.toml:[project.scripts]","status":"declared","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/blob/db69156fb510a8db0a72049299527ecf54c19f3d/pyproject.toml","observed_at":"2026-10-22T06:00:15.851Z"},"languages":{"value":["python","javascript"],"method":"github-tree-and-contents@2","source":"github.language+pyproject.toml+adapters/openclaw/plugin/package.json","revision":"db69156fb510a8db0a72049299527ecf54c19f3d","source_url":"https://github.com/mturac/promptguard/tree/db69156fb510a8db0a72049299527ecf54c19f3d","observed_at":"2026-10-22T06:00:15.851Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-10-22T06:00:15.851Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["When developing AI agents that generate code and need strict adherence to safety standards","For projects requiring detailed documentation of prompt behavior via saved reports"],"when_not_to_use":["If your project does not involve prompting AI for code generation or execution","In scenarios where real-time prompt auditing is required as it focuses on post-audit analysis"],"source":"enrich:decision_facts","observed_at":"2026-07-17T05:24:30.600Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"Unverified catalog guidance: PromptGuard audits prompts for AI agents to ensure safe code generation."}]}}