take-task

take-task is a skill for Claude Code, Codex from Heapy/kortex. It costs 63 tokens per session (1,043 once invoked), scanned A, original, Apache-2.0.

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

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Part of the kotgent plugin — 7 skills shipped together

Good fit Use it when starting, claiming, or picking up a kotgent task, optionally by task reference.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heapy/kortex/take-task
View source ↗ Heapy/kortex
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.

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.

Or install kotgent, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for take-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/heapy/kortex/take-task/github.svg)](https://agentmods.dev/skills/heapy/kortex/take-task)
Your own site
<a href="https://agentmods.dev/skills/heapy/kortex/take-task"><img src="https://agentmods.dev/badge/skills/heapy/kortex/take-task/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for take-task

Your own site · 80×15
<a href="https://agentmods.dev/skills/heapy/kortex/take-task"><img src="https://agentmods.dev/badge/skills/heapy/kortex/take-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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,043 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00063 $0.01043
Opus 5.5 $0.00025 $0.00417
Sonnet 5.5 $0.00013 $0.00209
Haiku 4.5 $0.00006 $0.00104

Measured 2mo ago against content hash bbc78d7aa718, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo ago.

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 · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 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 · 96 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. 2mo ago Changed · +1 lines bbc78d7aa718
  2. 3mo ago 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 (7 stars, last pushed 10d ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,043 once invoked, about $0.0003 per session on Opus 5.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

take-task compared with skills from other repositories

take-task next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
take-taskHeapy/kortexSkill710d agoApache-2.0A63Claude Code, Codex
skills-manager-clijiweiyeah/Skills-ManagerSkill1.1k2mo agoMITA151Claude Code, Codex
skills-atlasdevohmycode/Skills-AtlasSkill552d agoMITA99Claude Code
cesiumjs-cameraCesiumGS/cesiumjs-skillsSkill1982mo agoApache-2.0A80Claude Code
cesiumjs-primitivesCesiumGS/cesiumjs-skillsSkill1982mo agoApache-2.0A76Claude Code
cesiumjs-time-propertiesCesiumGS/cesiumjs-skillsSkill1982mo agoApache-2.0A84Claude Code
ppt-design-skillsunchaokun/PPT-Design-SkillSkill5312mo agoMITA35Codex