Claudeception

From NateBJones-Projects/OB1 · View interactive version

Claudeception is an AI agent skill from the GitHub repository NateBJones-Projects/OB1. Continuous learning system that extracts reusable knowledge from work sessions. Triggers: (1) /aiception command, (2) 'save this as a skill' or 'extract a skill from this', (3) 'what did we learn?', (4) after non-obvious debugging or trial-and-error discovery. Creates new skills when valuable reusab

How to use this skill

Skill file

Aiception

A continuous learning system that extracts reusable knowledge from work sessions and

codifies it into new skills. This enables autonomous improvement over time.

Core Principle

When working on tasks, continuously evaluate whether the current work contains extractable

knowledge worth preserving. Not every task produces a skill. Be selective about what's truly

reusable and valuable.

When to Extract

Extract when you encounter:

  1. Non-obvious Solutions: Debugging that required significant investigation and wouldn't

be immediately apparent to someone facing the same problem.

  1. Error Resolution: Specific error messages and their actual root causes, especially

when the error message is misleading.

  1. Tool Integration Knowledge: How to properly use a tool, library, or API in ways

that documentation doesn't cover well.

  1. Workflow Optimizations: Multi-step processes that can be streamlined.
  2. Project-Specific Patterns: Conventions or decisions specific to a codebase.

Quality Criteria

Before extracting, verify:

Extraction Process

Step 1: Search Open Brain for Existing Knowledge

Before creating anything, check if this knowledge already exists:

search_thoughts({ "query": "[keywords from the discovery]", "match_count": 5 })

| Search Result | Action |

|---------------|--------|

| Strong match found | Update the existing skill instead of creating new |

| Partial match | Create new, add "See also" cross-reference |

| No match | Create new |

Step 2: Check for Existing Skills

Search local skill directories for related skills:

Look in:
  .claude/skills/          (project-level)
  ~/.claude/skills/        (user-level)

| Found | Action |

|-------|--------|

| Nothing related | Create new |

| Same trigger, same fix | Update existing (bump version) |

| Same trigger, different cause | Create new, link both ways |

| Partial overlap | Update existing with new variant subsection |

Step 3: Research Current Best Practices

When the topic involves specific technologies or tools, search the web for current documentation

and best practices before creating the skill. Include a References section if external sources

were consulted. Skip this for project-specific internal patterns.

Step 4: Structure the Skill

---
name: [descriptive-kebab-case-name]
description: |
  [Precise description with: (1) exact use cases, (2) trigger conditions like
  specific error messages, (3) what problem this solves.]
author: [your name]
version: 1.0.0
---

# [Skill Name]

## Problem
[Clear description of the problem]

## Context / Trigger Conditions
[When should this fire? Include exact error messages, symptoms, scenarios]

## Solution
[Step-by-step solution]

## Verification
[How to verify it worked]

## Example
[Concrete example of applying this skill]

## Notes
[Caveats, edge cases, related considerations]

## References
[Links to docs or resources, if any]

Step 5: Save the Skill

Save to the appropriate location:

Step 6: Capture to Open Brain

After creating the skill, save it to Open Brain so future sessions can find it:

capture_thought({
  "content": "New skill created: [skill-name]. [1-2 sentence summary of what it solves].
              Trigger: [exact trigger condition]. Location: ~/.claude/skills/[name]/SKILL.md"
})

Step 7: Quality Gate Checklist

Before finalizing, verify:

Retrospective Mode

When /aiception is invoked at session end:

  1. Review the session for extractable knowledge
  2. List candidates with brief justifications
  3. Focus on highest-value, most reusable knowledge
  4. Extract skills for top candidates (typically 1-3 per session)
  5. Report what was created and why

Self-Reflection Prompts

Use during work to spot extraction opportunities:

Example: Complete Extraction Flow

Scenario: While deploying n8n workflows via API, you discover that the POST endpoint

rejects requests containing a tags field (returns "request/body/tags is read-only"),

even though the GET response includes tags. The API also uses a different key than

what's stored in the server's .env file.

Step 1 - Search Open Brain: search_thoughts("n8n workflow API tags read-only")

No match found.

Step 2 - Check existing skills: Search ~/.claude/skills/ for n8n-related skills.

Found n8n-docker-troubleshooting but it covers different issues (Code node sandbox).

Step 3 - Structure the skill:

---
name: n8n-workflow-api-quirks
description: |
  Fix n8n REST API issues when importing/updating workflows. Use when:
  (1) POST /api/v1/workflows returns "tags is read-only",
  (2) API key from .env returns 401 but MCP config key works,
  (3) PATCH doesn't update workflow code (need delete + recreate).
author: Jared Irish
version: 1.0.0
---
# n8n Workflow API Quirks
## Problem
n8n's REST API has undocumented constraints...

Step 4 - Save: ~/.claude/skills/n8n-workflow-api-quirks/SKILL.md

Step 5 - Capture to Open Brain: Records the skill's existence for cross-session discovery.

Anti-Patterns

Skill Lifecycle

  1. Creation: Initial extraction with verified solution
  2. Refinement: Update when additional use cases or edge cases are discovered
  3. Deprecation: Mark deprecated when tools or patterns change
  4. Archival: Remove skills that are no longer relevant

Automatic Triggers

Invoke this skill after completing a task when ANY of these apply:

  1. Solution required >10 minutes of investigation not found in documentation
  2. Fixed an error where the error message was misleading
  3. Found a workaround for a tool limitation that required experimentation
  4. Discovered configuration that differs from standard patterns
  5. Tried multiple approaches before finding what worked

Also invoke when the user runs /aiception, says "save this as a skill", or asks "what did we learn?"

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.