newrelic-experimental/preflight
Observability for AI coding assistants — cost tracking, efficiency scoring, and anti-pattern detection for Claude Code, Cursor, Copilot, and more. Local-first; New Relic optional.
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
up to ~10.2k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
Copy this rig
# review before running: this installs third-party code $ claude mcp add preflight -e NEW_RELIC_AI_PLATFORM=YOUR_NEW_RELIC_AI_PLATFORM -e NR_AI_MODE=YOUR_NR_AI_MODE -- npx -y @newrelic/preflight@latest --stdio $ claude mcp add newrelic-preflight -- npx -y @newrelic/preflight@1.71.0 --stdio $ npx degit newrelic-experimental/preflight/.claude ./rig-preflight # inspect, then merge into .claude/
MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ claude mcp add preflight -e NEW_RELIC_AI_PLATFORM=YOUR_NEW_RELIC_AI_PLATFORM -e NR_AI_MODE=YOUR_NR_AI_MODE -- npx -y @newrelic/preflight@latest --stdio $ claude mcp add newrelic-preflight -- npx -y @newrelic/preflight@1.71.0 --stdio
$ npx degit newrelic-experimental/preflight/.claude/skills/verify-preflight .claude/skills/verify-preflight $ npx degit newrelic-experimental/preflight/kiro-power/skills/observability .claude/skills/observability $ npx degit newrelic-experimental/preflight/kiro-power/skills/setup .claude/skills/setup
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf:*)",
"Bash(rm -rf *)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Bash(git reset --hard*)",
"Bash(rm -rf /*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(gh pr create *)",
"Bash(git reset --hard:*)",
"Bash(npm publish:*)",
"Bash(git rebase *)"
]
}
} MCP servers (2)
| server | source | est. tokens |
|---|---|---|
| @newrelic/preflight · "preflight" env: NEW_RELIC_AI_PLATFORM, NR_AI_MODE | npm | 2.5k |
| @newrelic/preflight · "newrelic-preflight" | npm | 2.5k |
Skills (3)
Similar rigs
nizos/tdd-guard
Automated TDD enforcement for Claude Code
Minimalist 1.3k tok · · Q0
terranc/claude-telegram-bot-bridge
A lightweight Telegram bot that bridges Claude Code to any local folder, with autostart support for remote mobile development.
Minimalist 2.1k tok · · Q3
stefanoginella/aicontainer
Sandboxed devcontainer for running Claude Code, Codex, and OpenCode in bypass / auto-approve mode.
Pragmatist 15.0k tok · · Q5
MrTig-afk/claude-remote
Claude Code on your PC, started from your phone, with your full setup intact.
Pragmatist 2.8k tok · · Q0