Back to skills
SkillHub ClubShip Full StackFull Stack

skill-knowledge-work

Override context auto-detection (Dev vs Knowledge mode)

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
1,585
Hot score
99
Updated
March 20, 2026
Overall rating
C4.0
Composite score
4.0
Best-practice grade
B77.6

Install command

npx @skill-hub/cli install nyldn-claude-octopus-skill-knowledge-work

Repository

nyldn/claude-octopus

Skill path: skills/skill-knowledge-work

Override context auto-detection (Dev vs Knowledge mode)

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: nyldn.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install skill-knowledge-work into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/nyldn/claude-octopus before adding skill-knowledge-work to shared team environments
  • Use skill-knowledge-work for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: skill-knowledge-work
version: 1.0.0
description: Override context auto-detection (Dev vs Knowledge mode)
---

# Knowledge Work Mode - Context Override Skill

## Context Auto-Detection (v7.8+)

**Claude Octopus now auto-detects work context!** The system analyzes your prompt and project to determine whether you're in a **Dev Context** (code-focused) or **Knowledge Context** (research/strategy-focused).

**You typically don't need this skill** - context is detected automatically when you use:
- `octo research X` - Auto-detects dev vs knowledge research
- `octo build X` - Auto-detects code vs document building
- `octo review X` - Auto-detects code vs document review

## When to Use This Override

**Use ONLY when auto-detection is wrong:**
- Auto-detection chose Dev but you want Knowledge behavior
- Auto-detection chose Knowledge but you want Dev behavior
- You want to force a specific context for the entire session

## Override Commands

### Force Knowledge Context
```bash
/octo:km on
```
All subsequent workflows will use Knowledge Context until reset.

### Force Dev Context
```bash
/octo:km off
```
All subsequent workflows will use Dev Context until reset.

### Return to Auto-Detection
```bash
/octo:km auto
```
Context detection returns to automatic mode.

### Check Current Status
```bash
/octo:km
```
Shows current mode (auto, knowledge, or dev).

## How Auto-Detection Works

When you use any `octo` workflow, context is detected by analyzing:

1. **Prompt Content** (strongest signal):
   - Knowledge indicators: "market", "ROI", "stakeholders", "strategy", "personas", "presentation", "report", "PRD"
   - Dev indicators: "API", "endpoint", "database", "implementation", "code", "function", "deploy"

2. **Project Type** (secondary signal):
   - Has `package.json`, `Cargo.toml`, `go.mod` β†’ Dev Context
   - Mostly `.md`, `.docx`, `.pdf` files β†’ Knowledge Context

3. **Explicit Override** (if set via `/octo:km`):
   - Overrides all auto-detection until reset to "auto"

## Visual Indicator Shows Context

When workflows run, you'll see the detected context in the banner:

**Dev Context:**
```
πŸ™ **CLAUDE OCTOPUS ACTIVATED** - Multi-provider research mode
πŸ” [Dev] Discover Phase: Technical research on caching patterns
```

**Knowledge Context:**
```
πŸ™ **CLAUDE OCTOPUS ACTIVATED** - Multi-provider research mode
πŸ” [Knowledge] Discover Phase: Market analysis for APAC expansion
```

## Examples of Auto-Detection in Action

### Example 1: Technical Research (Auto β†’ Dev)

**User:** "octo research caching strategies for our Node.js API"

**Claude:** (auto-detects Dev Context from "Node.js API")
```
πŸ™ **CLAUDE OCTOPUS ACTIVATED** - Multi-provider research mode
πŸ” [Dev] Discover Phase: Technical research on caching strategies

[Researches with technical/implementation focus]
```

### Example 2: Market Research (Auto β†’ Knowledge)

**User:** "octo research market opportunities in healthcare AI"

**Claude:** (auto-detects Knowledge Context from "market opportunities")
```
πŸ™ **CLAUDE OCTOPUS ACTIVATED** - Multi-provider research mode
πŸ” [Knowledge] Discover Phase: Strategic research on healthcare AI market

[Researches with business/strategic focus]
```

### Example 3: Override When Auto Gets It Wrong

**User:** "octo research React patterns"  
**Claude:** (auto-detects Dev) `πŸ” [Dev] Discover Phase...`

**User:** "Actually, this is for a presentation. Force knowledge mode."

**Claude:** "Setting context override to Knowledge Mode."
```bash
/octo:km on
```

**User:** "octo research React patterns"  
**Claude:** (uses override) `πŸ” [Knowledge] Discover Phase...` (focuses on trends, adoption, strategic implications)

### Example 4: Check Current Status

**User:** "What context mode am I in?"

**Claude:** 
```
Current mode: Auto-detection (no override set)
Last detected context: Dev (based on project having package.json)

To override: /octo:km on (force Knowledge) or /octo:km off (force Dev)
To return to auto: /octo:km auto
```

## What Changes Per Context

### Dev Context πŸ”§
| Workflow | Focus |
|----------|-------|
| `octo research X` | Technical implementation, libraries, code patterns |
| `octo build X` | Code generation, architecture, tests |
| `octo review X` | Code quality, security, performance |
| Agents | codex, backend-architect, code-reviewer, security-auditor |

### Knowledge Context πŸŽ“
| Workflow | Focus |
|----------|-------|
| `octo research X` | Market analysis, competitive research, literature synthesis |
| `octo build X` | PRDs, strategy docs, presentations, reports |
| `octo review X` | Document quality, argument strength, completeness |
| Agents | strategy-analyst, ux-researcher, exec-communicator, product-writer |

## Document Delivery πŸ“„

After running knowledge workflows, export to professional formats:
- **DOCX** - Word documents for reports, business cases
- **PPTX** - PowerPoint presentations for stakeholder decks
- **XLSX** - Excel spreadsheets for data analysis

Just say: "Export this to Word" or "Create a PowerPoint presentation"

## Override Command Reference

| Command | Description |
|---------|-------------|
| `/octo:km` | Show current status (auto, on, or off) |
| `/octo:km on` | Force Knowledge Context for all workflows |
| `/octo:km off` | Force Dev Context for all workflows |
| `/octo:km auto` | Return to auto-detection (default) |

## When NOT to Use Override

**Don't override if:**
- Auto-detection is working correctly
- You're doing mixed work (let each prompt be detected individually)
- You just want to see what context was detected (check the banner)

**Override is for:**
- Forcing a specific context for an entire session
- Correcting persistent misdetection
- Specific use cases where you know better than auto-detect

## Related Skills

- `/octo:discover` - Research workflow (auto-detects context)
- `/octo:develop` - Build workflow (auto-detects context)  
- `/octo:deliver` - Review workflow (auto-detects context)
- `/octo:docs` - Document export (works in both contexts)