Skip to content
Back to skills

Determine Task

ASecurity

Determine current task from state files and git context

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
toolsbashgit

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill determine-task --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Determine Task?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Determine Task
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-determine-task/badge)](https://www.skillsdirectory.com/skills/majiayu000-determine-task)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: determine-task
description: Determine current task from state files and git context
allowed-tools: Bash, Read
---

# Task Determination

Analyze session state to determine what task to work on.

## Execution

Run the task determiner agent:

```bash
./agents/task-determiner.sh
```

## Analysis Performed

1. **Git History** - Recent commits, uncommitted changes
2. **Progress File** - `claude-progress.txt` if present (harness pattern)
3. **Branch Name** - Extract hints from feature/*, fix/*, claude/* branches
4. **Tasks File** - `.contextium/tasks.json` for explicit task list

## Task Selection Logic

1. Find first task with status != "completed"
2. Consider task dependencies
3. Update `.contextium/tasks.json` with current task

## Output

```
=== RECOMMENDED TASK ===
Task: <task-id>
Reason: <selection rationale>
Prerequisites: <any setup needed>
Scope: <files/modules in scope>
========================
```

## Creating Tasks

If no tasks exist, create them:

```bash
# Edit tasks.json directly or use the task management skill
cat > .contextium/tasks.json << 'EOF'
{
  "version": "1.0.0",
  "tasks": [
    {
      "id": "implement-feature-x",
      "description": "Implement feature X",
      "status": "pending",
      "priority": "high",
      "scope": ["src/features/x/*"]
    }
  ],
  "current": null,
  "history": []
}
EOF
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.