Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By gagandeeppv1.1.0MITIn 1 marketplace
Shared guardrails layer for all coding agent families — enforces safety, quality, governance, observability gates, and optional ChromaDB vector memory for semantic session recall
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
guardrails, safety, governance, audit, policy, coding-agent, vector-memory, chromadb ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Shared guardrails layer for all coding agent families. Enforces safety, quality, governance, and observability gates before and after every agent action.
This plugin is a prerequisite for the backend, frontend, database, devops, and security coding agents. It runs as a cross-cutting concern and does not generate code itself.
| Skill | Phase | Description |
|---|---|---|
input-validation | Pre-action | Validates scope, allowed actions, and blocked paths before any agent skill runs |
budget-monitor | Pre-action | Checks token, invocation, and cost budgets; trips circuit breaker when ceilings are hit |
output-validation | Post-action | Verifies diff size, lint result, and test coverage meet quality gates |
idempotency-guard | Post-action | Detects duplicate agent writes and prevents double-application of patches |
drift-detection | Post-action | Compares generated artifacts against the baseline ref; flags unexpected dependency or config drift |
policy-enforcement | Pre-action | Consults org policy endpoint (fail-closed); blocks disallowed agents or actions |
harm-prevention | Pre-action | Scans generated code for forbidden patterns (see defaults/forbidden-patterns.md) |
audit-trail | Always | Appends a structured JSONL entry to the audit log for every session event |
cost-tracker | Always | Accumulates per-story cost estimates and emits alerts at configured thresholds |
error-escalation | On failure | Routes P0/P1 failures to Teams, Slack, Jira, or human-in-loop per config |
| Command | Description |
|---|---|
/guardrails-db-init | Initialize guardrails database tables for audit log persistence |
/guardrails-reset | Resets circuit breaker state and clears per-story cost accumulators for the current session |
/guardrails-memory-reindex | Rebuild the ChromaDB vector index from JSONL memory files |
Create .guardrails-agent.json at the project root. All keys are optional; defaults are applied from the schema.
{
"organization": {
"userStoryId": "PROJ-1234",
"notify": ["teams-webhook", "jira-auto-create"],
"teamsWebhookUrl": "https://...",
"jiraProject": "PROJ"
},
"scope": {
"allowedActions": ["code", "refactor", "test", "review"],
"scopedPaths": ["src/", "tests/"],
"blockedPaths": [".env", "secrets/", "infra/terraform/prod"]
},
"budgets": {
"maxTokensPerSession": 100000,
"maxInvocationsPerHour": 20,
"maxCostPerStoryUSD": 5.0,
"circuitBreakerCooldownMins": 30
},
"outputQuality": {
"minCoveragePercent": 85,
"maxDiffLines": 500,
"lintAsBlocker": false
},
"policy": {
"mandatoryGuidelines": true,
"enforceLsp": true,
"orgPolicyEndpoint": "https://internal-api.Vensure-Devops-QA.com/claude-plugins/policy"
},
"harmPrevention": {
"extraForbiddenPatterns": [],
"disabledPatterns": []
},
"escalation": {
"autoFixP1": true,
"ambiguityBehavior": "human-in-loop"
},
"drift": {
"driftBaselineRef": "main"
},
"memory": {
"enabled": true,
"windowSize": 10,
"persist": "jsonl",
"vectorStore": {
"enabled": false,
"backend": "chromadb",
"path": ".claude/agent-memory/_chroma",
"embeddingModel": "all-MiniLM-L6-v2",
"topK": 5,
"hybridMerge": "append",
"minScore": 0.25
}
},
"audit": {
"logFile": ".guardrails-audit.jsonl",
"commitAuditLog": false
}
}
Full schema: schemas/guardrails-agent.schema.json
Default forbidden patterns: defaults/forbidden-patterns.md
Budget rate table and ceiling defaults: defaults/budget-defaults.md
This plugin has no external plugin prerequisites. It is itself a prerequisite for:
@Vensure-Devops-QA/backend-coding-agent@Vensure-Devops-QA/frontend-coding-agent@Vensure-Devops-QA/database-coding-agent@Vensure-Devops-QA/devops-coding-agent@Vensure-Devops-QA/security-coding-agentInstall this plugin before installing any coding agent family plugin.
The policy endpoint (policy.orgPolicyEndpoint) is consulted at session start. Behavior is fail-closed: if the endpoint is unreachable, the agent blocks all actions and emits a P0 alert. Admins can configure the endpoint via adminConfigurable: true in the marketplace entry.
npx claudepluginhub gagandeepp/software-agent-teams --plugin guardrails-coding-agentBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground