take-task

A workflow for safely claiming a specific or next eligible kotgent task and continuing with the required work process.

In plain words
What is it for?
Use it when starting, claiming, or picking up a kotgent task, optionally by task reference.
Why use it?
It prevents two sessions from claiming the same task and checks whether the current session is already working on something.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/heapy/kortex/take-task
Any agent
npx skills add Heapy/kortex --skill take-task
Clone the repo
git clone --depth 1 https://github.com/Heapy/kortex

Made for: Claude Code, Codex.

Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00063 $0.01035
Opus 5 $0.00032 $0.00517
Sonnet 5 $0.00013 $0.00207
Haiku 4.5 $0.00006 $0.00103

Measured yesterday against content hash 8a04ab59d25e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

take-task scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/kotgent/skills/take-task/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Take Task

Claim work only from a free kotgent session. Use the kotgent CLI for tracker operations and git for repository state. Do not use an MCP server, SDK, direct daemon request, or helper script.

Resolve the caller identity

Use the live kotgent pane as identity by default. Never read KOTGENT_SESSION_ID as identity or copy it into --session. Outside a kotgent pane, require an exact session ID explicitly supplied by the invocation context or user and append --session <session-id> to the session-scoped commands below. Never infer an ID from provider conversation IDs, environment variables, names, cwd, recency, or kotgent list. Choose one mode for the whole run.

Require git and kotgent on PATH and a Git worktree, but make the pane form the first kotgent task command:

kotgent task show

Use kotgent task show --session <session-id> only in explicit outside-pane mode.

Interpret it strictly:

  • Exit 0 means the session already holds a task. Report that task and stop; do not claim or call next.
  • Continue only on exit 1, empty stdout, no status field, and error exactly equal to the matching message: this session is not linked to a task — name one, or link one with `kotgent task claim <ref>` in pane mode, or session '<session-id>' is not linked to a task — name one: kotgent task <command> <ref> --session <session-id> in explicit mode.
  • Treat every other response as a real failure and stop. Exit 2 is a command-construction bug whose stderr may be plain usage text.

Never use task unlink to make a session appear free.

Resolve a candidate

When no ref was supplied:

  1. Resolve the Git root, read its .kotgent.json, and require the exact project UUID in kotgent project list. If it is absent or archived, stop; never initialize, restore, switch, or retry.

  2. Run:

    kotgent task next --project <project-uuid>
    
  3. Treat exit 3 with {"task":null} as normal absence of work and stop successfully. Treat any other nonzero exit as failure. Record the returned ref; do not call next again.

Read the full file on GitHub · 95 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 95 lines · 63 tokens per session scan A 8a04ab59d25e

Subscribe to this mod's changes

take-task is a skill published in the GitHub repository Heapy/kortex (5 stars, last pushed 4d ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,035 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

mobile-experience-report

Use when the user says 'my site looks bad on mobile', 'check mobile layout', 'responsive audit', or 'site broken on phones'. Diagnoses breakpoint problems, text sizing, column stacking failures, hidden elements, and navigation menu behavior, device by device.

respira-press/agent-skills-wordpress · 58 tokens

motherduck-design-dive

Design or redesign a MotherDuck Dive as a responsive, reusable analytics interface. Use when a Dive must be mobile-friendly from the start, support light and dark modes, reserve space for filters, use restrained Power BI-style information design, embed small charts inside metric components, or work across customers…

motherduckdb/agent-skills · 69 tokens

gradle-expert

Build optimization, dependency resolution, and multi-module KMP troubleshooting for AmethystMultiplatform. Use when working with: (1) Gradle build files (build.gradle.kts, settings.gradle), (2) Version catalog (libs.versions.toml), (3) Build errors and dependency conflicts, (4) Module dependencies and source sets, (5)…

vitorpamplona/amethyst · 132 tokens

add-native

Public entry point for native device capabilities and native controls — camera, image picker, barcode/QR scanner, document picker, file picker, secure storage, file system, sharing, PDF generation/viewing, pen/signature capture, background GPS/geolocation tracking, or supported local file workflows — in a Power Apps…

microsoft/power-platform-skills · 96 tokens

amy-expert

Patterns for extending amy, the Amethyst CLI in cli/. Use when adding an amy command, touching files under cli/src/main/kotlin/…/cli/, wiring a new subcommand into Main.kt, writing an interop test script that drives Amy, or extracting logic out of amethyst/ into commons/ so a CLI command can call it. Enforces the…

vitorpamplona/amethyst · 217 tokens

compose-side-effects

Use when writing or reviewing Jetpack Compose code with LaunchedEffect, DisposableEffect, SideEffect, rememberCoroutineScope, rememberUpdatedState, snapshotFlow, snackbar, navigation, focus requests, analytics, or event Flow collection. Technique-layer skill — complements the codebase-specific compose-expert.

vitorpamplona/amethyst · 62 tokens