skill context detection

Other Community

Skill notes

Purpose

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 the manual /octo:km toggle with intelligent auto-detection.

Detection Algorithm

When a workflow skill activates, detect context using these signals:

Step 1: Check for Explicit Override

If user has explicitly set mode via /octo:km on or /octo:km off, respect that setting.

Step 2: Analyze Prompt Content (Strongest Signal)

Knowledge Context Indicators (check prompt for these terms): Business/strategy: "market", "ROI", "stakeholders", "strategy", "business case", "competitive" Research: "literature", "synthesis", "academic", "papers", "research question" UX: "personas", "user research", "journey map", "pain points", "interviews" Deliverables: "presentation", "report", "PRD", "proposal", "executive summary"

Step 3: Analyze Project Context (Secondary Signal)

Dev Project Indicators: Has package.json, Cargo.toml, go.mod, pyproject.toml, pom.xml Has src/, lib/, app/ directories with code files Recent files are .ts, .js, .py, .go, .rs, .java Knowledge Project Indicators:

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@nyldn · no license declared
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview skill-context-detection.preview
# Context Output Format

{
  "context": "dev" | "knowledge",
  "confidence": "high" | "medium" | "low",
  "signals": {
    "prompt_indicators": ["API", "endpoint", "database"],
    "project_type": "node_typescript",
    "explicit_override": false
  }
}

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.