# rwarwa599/nope architecture

> Architecture diagram of the GitHub repository rwarwa599/nope, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rwarwa599/nope
- Repository: https://github.com/rwarwa599/nope

## Overview

Nope is an AI-agent skill that routes requests to preserve the user’s control over thinking and action. The documented workflow runs on each request, classifies it into one of five routes, and uses an action guard to require confirmation before risky changes. Users can pause the skill with `/nope-off` and resume with `/nope`; the guard and decision log remain active while paused. Supporting templates cover learner profiles, state, LOD maps, and decision logs. Source excerpts were unavailable, so relationships below are limited to those documented in the README.

Main entry points: [`skills/nope/references/routing.md`](https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md) (Request routing), [`skills/nope/SKILL.md`](https://github.com/rwarwa599/nope/blob/main/skills/nope/SKILL.md) (Nope skill), [`rules/nope.mdc`](https://github.com/rwarwa599/nope/blob/main/rules/nope.mdc) (Always-on rule), [`skills/nope-off/SKILL.md`](https://github.com/rwarwa599/nope/blob/main/skills/nope-off/SKILL.md) (Pause skill)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_request_flow["Request workflow"]
  node_always_rule["Always-on rule<br/>[nope.mdc]"]
  node_nope_skill["Nope skill<br/>[SKILL.md]"]
  node_routing["Request routing<br/>[routing.md]"]
  node_do_route["Do it<br/>[routing.md]"]
  node_grill_route["Clarify intent<br/>[routing.md]"]
  node_diy_route["Do it yourself<br/>[routing.md]"]
  node_guide_route["Question guidance<br/>[routing.md]"]
  node_gate_route["Defend change<br/>[routing.md]"]
end

subgraph group_safeguards["Controls"]
  node_action_guard["Action guard<br/>[SKILL.md]"]
  node_confirmation(("User approval"))
  node_off_skill["Pause skill<br/>[SKILL.md]"]
end

subgraph group_learning_state["Learning state"]
  node_state_template["Nope state<br/>[nope-state.md]"]
  node_profile_template["Learner profile<br/>[learner-profile.md]"]
  node_lod_map["LOD map<br/>[lod-map.md]"]
  node_decision_log["Decision log<br/>[decision-log.md]"]
end

node_user(("User"))

node_user -->|"submits request"| node_always_rule
node_always_rule -->|"runs skill"| node_nope_skill
node_nope_skill -->|"routes request"| node_routing
node_routing -->|"routes to"| node_do_route
node_routing -->|"routes to"| node_grill_route
node_routing -->|"routes to"| node_diy_route
node_routing -->|"routes to"| node_guide_route
node_routing -->|"routes to"| node_gate_route
node_nope_skill -->|"guards actions"| node_action_guard
node_action_guard -->|"requires yes"| node_confirmation
node_user -->|"runs &#96;/nope-off&#96;"| node_off_skill
node_user -->|"runs &#96;/nope&#96;"| node_nope_skill
node_nope_skill -->|"creates on first request"| node_lod_map
node_nope_skill -->|"creates on first request"| node_decision_log
node_user -->|"fills in profile"| node_profile_template

click node_always_rule "https://github.com/rwarwa599/nope/blob/main/rules/nope.mdc"
click node_nope_skill "https://github.com/rwarwa599/nope/blob/main/skills/nope/SKILL.md"
click node_routing "https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md"
click node_do_route "https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md"
click node_grill_route "https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md"
click node_diy_route "https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md"
click node_guide_route "https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md"
click node_gate_route "https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md"
click node_action_guard "https://github.com/rwarwa599/nope/blob/main/skills/nope/SKILL.md"
click node_off_skill "https://github.com/rwarwa599/nope/blob/main/skills/nope-off/SKILL.md"
click node_state_template "https://github.com/rwarwa599/nope/blob/main/templates/nope-state.md"
click node_profile_template "https://github.com/rwarwa599/nope/blob/main/templates/learner-profile.md"
click node_lod_map "https://github.com/rwarwa599/nope/blob/main/templates/lod-map.md"
click node_decision_log "https://github.com/rwarwa599/nope/blob/main/templates/decision-log.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_always_rule,node_nope_skill,node_routing,node_do_route,node_grill_route,node_diy_route,node_guide_route,node_gate_route,node_user toneBlue
class node_action_guard,node_confirmation,node_off_skill toneAmber
class node_state_template,node_profile_template,node_lod_map,node_decision_log toneMint
```

## Components

### Request workflow

- [Always-on rule](https://github.com/rwarwa599/nope/blob/main/rules/nope.mdc): `rules/nope.mdc`
- [Nope skill](https://github.com/rwarwa599/nope/blob/main/skills/nope/SKILL.md): `skills/nope/SKILL.md`
- [Request routing](https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md): `skills/nope/references/routing.md`
- [Do it](https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md): `skills/nope/references/routing.md`
- [Clarify intent](https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md): `skills/nope/references/routing.md`
- [Do it yourself](https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md): `skills/nope/references/routing.md`
- [Question guidance](https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md): `skills/nope/references/routing.md`
- [Defend change](https://github.com/rwarwa599/nope/blob/main/skills/nope/references/routing.md): `skills/nope/references/routing.md`

### Controls

- [Action guard](https://github.com/rwarwa599/nope/blob/main/skills/nope/SKILL.md): `skills/nope/SKILL.md`
- **User approval**
- [Pause skill](https://github.com/rwarwa599/nope/blob/main/skills/nope-off/SKILL.md): `skills/nope-off/SKILL.md`

### Learning state

- [Nope state](https://github.com/rwarwa599/nope/blob/main/templates/nope-state.md): `templates/nope-state.md`
- [Learner profile](https://github.com/rwarwa599/nope/blob/main/templates/learner-profile.md): `templates/learner-profile.md`
- [LOD map](https://github.com/rwarwa599/nope/blob/main/templates/lod-map.md): `templates/lod-map.md`
- [Decision log](https://github.com/rwarwa599/nope/blob/main/templates/decision-log.md): `templates/decision-log.md`

### Other components

- **User**

## Connections

- User → Always-on rule: submits request (evidence: `README.md`)
- Always-on rule → Nope skill: runs skill (evidence: `README.md`)
- Nope skill → Request routing: routes request (evidence: `README.md`)
- Request routing → Do it: routes to (evidence: `README.md`)
- Request routing → Clarify intent: routes to (evidence: `README.md`)
- Request routing → Do it yourself: routes to (evidence: `README.md`)
- Request routing → Question guidance: routes to (evidence: `README.md`)
- Request routing → Defend change: routes to (evidence: `README.md`)
- Nope skill → Action guard: guards actions (evidence: `README.md`)
- Action guard → User approval: requires yes (evidence: `README.md`)
- User → Pause skill: runs `/nope-off` (evidence: `README.md`)
- User → Nope skill: runs `/nope` (evidence: `README.md`)
- Nope skill → LOD map: creates on first request (evidence: `README.md`)
- Nope skill → Decision log: creates on first request (evidence: `README.md`)
- User → Learner profile: fills in profile (evidence: `README.md`)
