Skip to content
Back to skills

Adr

ASecurity

**Status:** Accepted **Date:** 2026-09-18

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 24, 2026
ai-agentsrustgorailsdatabasebackendsecuritydocumentation

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 24, 2026

npx -y skills add dinglebear-ai/cortex --skill adr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Adr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dinglebear-ai-adr/badge)](https://www.skillsdirectory.com/skills/dinglebear-ai-adr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
title: "ADR 002: First-Class Cortex Installer Skill"
created: 2026-09-18
updated: 2026-09-18
---

# ADR 002: First-Class Cortex Installer Skill

**Status:** Accepted
**Date:** 2026-09-18

## Context

Cortex already has a canonical native installer, idempotent setup repair, server/client plugin configuration, Google OAuth, separate MCP/REST credentials, Compose lifecycle, storage guardrails, and Codex app-server assessments. What is missing is one first-run workflow that makes the fleet topology and security choices explicit before configuration.

A Cortex fleet has one authoritative ingest/storage server. Other machines usually act as MCP clients or host-local forwarders. Syslog itself is unauthenticated, while HTTP services have distinct credentials and scopes. OAuth also defaults to disabling the static MCP bearer unless the operator deliberately retains it.

## Decision

Add `install-cortex` to the existing Cortex plugin. The skill downloads the canonical `install.sh` as a reviewable file, delegates setup to `cortex setup repair`, and asks the user to choose server or client-only role before any listener/storage work.

Server setup configures syslog sender network controls, HTTP/MCP/REST credentials, storage policy, optional Google OAuth, and Compose persistence. Client-only setup never starts another receiver/database. OAuth plus static bearer is an explicit break-glass choice, not an implicit default.

Remote exposure uses current proxy/Tailscale documentation and a backup/diff/approval gate. Optional local assessment uses Cortex's existing `CORTEX_LLM=codex` Codex app-server backend.

## Consequences

- First-run setup reflects Cortex's actual fleet topology instead of treating every machine as a server.
- The skill remains thin over executable setup/Compose contracts.
- Syslog network trust and HTTP authentication cannot be accidentally conflated.
- Native installer/setup changes remain testable independently from agent guidance.

Files in this skill

  • 001-sqlite-single-writer.md2.6 KB
  • 002-first-class-install-cortex-skill.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.