skill-context-detection

Detect development versus knowledge context from prompts and project structure.

1|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/mhdxbilal/Ai --skill skill-context-detection-mhdxbilal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-context-detection
Source: https://github.com/mhdxbilal/Ai/tree/main/.claude/skills/skill-context-detection
Command: npx skills add https://github.com/mhdxbilal/Ai --skill skill-context-detection-mhdxbilal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides automatic context detection to determine whether the user is working in a Development context (code-focused) or Knowledge context (research/strategy-focused). This replaces manual toggles with intelligent auto-detection to streamline workflow orchestration.

Core Features & Use Cases

  • Automatic context detection between Dev and Knowledge contexts based on signals from prompts, explicit overrides, and project structure.
  • Supports an explicit override via /octo:km to force a mode, with auto-detection as fallback.
  • Applies context-aware behavior to workflows, agent selection, and output formatting for the current task.

Quick Start

Ask Claude Octopus to auto-detect your task context and apply the corresponding workflow mode.

Frequently Asked Questions about skill-context-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does automatic context detection work for development vs knowledge workflows?

Automatic context detection works by analyzing explicit overrides, prompt content signals, and project repository structure to classify whether your task is development-focused or knowledge-focused, then tailors workflow behavior accordingly.

Can I force manual context detection overrides instead of relying on auto-detection?

Yes, you can force manual context detection overrides by using the /octo:km command to switch to knowledge mode, with the automatic context detection system serving as the fallback mechanism for all other prompts.

What is the best way to auto-detect project context for workflow orchestration?

The best way to auto-detect project context is to scan user prompts for content signals and inspect the repository structure to accurately classify the active mode, eliminating the need for manual workflow toggles.

Does context detection inspect repository structure to classify tasks?

Yes, context detection inspects repository structure alongside checking for knowledge-mode override files and scanning prompt content to accurately classify whether the current task requires a development or knowledge workflow.

Why do I need context detection for prompt analysis and agent selection?

You need context detection for prompt analysis and agent selection because it automatically determines whether your task is code-focused or research-focused, applying context-aware behavior to output formatting and workflow orchestration.