task-alignment

task-alignment is a skill for Codex from dongshuyan/compass-skills. It costs 125 tokens per session (5,066 once invoked), scanned A, original, MIT.

A first-pass check that compares a user's request with the agent's current understanding of the task. It looks for missing requirements, conflicting interpretations, unsupported assumptions, or changed goals.

In plain words
What is it for?
It is for clarifying requests, resolving competing readings, and keeping later actions aligned with the latest agreed goal.
Why use it?
It catches misunderstandings before work proceeds and gives the user a chance to confirm or correct the intended task.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit It is for clarifying requests, resolving competing readings, and keeping later actions aligned with the latest agreed goal.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dongshuyan/compass-skills/task-alignment
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 dongshuyan/compass-skills --skill task-alignment
Clone the repo
git clone --depth 1 https://github.com/dongshuyan/compass-skills

Made for: Codex.

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 task-alignment

README.md
[![agentmods](https://agentmods.dev/badge/skills/dongshuyan/compass-skills/task-alignment/github.svg)](https://agentmods.dev/skills/dongshuyan/compass-skills/task-alignment)
Your own site
<a href="https://agentmods.dev/skills/dongshuyan/compass-skills/task-alignment"><img src="https://agentmods.dev/badge/skills/dongshuyan/compass-skills/task-alignment/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 task-alignment

Your own site · 80×15
<a href="https://agentmods.dev/skills/dongshuyan/compass-skills/task-alignment"><img src="https://agentmods.dev/badge/skills/dongshuyan/compass-skills/task-alignment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,066 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.00125 $0.05066
Opus 5.5 $0.00050 $0.02026
Sonnet 5.5 $0.00025 $0.01013
Haiku 4.5 $0.00013 $0.00507

Measured 2d ago against content hash f3c82766cc86, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

task-alignment 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 2d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (evals/test_auto_trigger_contract.py, evals/test_behavior_guards.py, evals/test_split_contract.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/task-alignment/SKILL.md · 230 lines

How it starts

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

Task Alignment

Use $task-alignment as a first-pass check that keeps the user's task and the agent's next action aligned. Help the user decide what they want, understand that intent yourself, and let the user verify your understanding when this automatic path has to ask. Work in the user's current language (Chinese if unknown). Preserve exact quoted text, identifiers, paths and values. Translate labels and explanations into the user's language. Keep the Latin option labels exactly as shown.

Automatic trigger and message relevance

This skill is composable. It may be selected together with clear-communication or another task skill. clear-communication can shape the wording for the reader while this skill handles alignment. Selecting this skill as a secondary selection does not exclude a resident or otherwise applicable skill, and both may run in the same turn when both descriptions fit.

Consider this skill when a task first appears, even without an explicit invocation. On every later message that is related to the current task and visible in the current conversation, compare it with the latest complete understanding. Check whether it changes or challenges the task's goal, scope, method, evidence, format, permissions, or acceptance. This includes a visible report from another agent. Do not claim to inspect agent messages that the host did not expose in the current context.

Treat a message as unrelated when it cannot affect that task's understanding, execution, or acceptance. Handle it normally and do not interrupt the task's clarification state.

Ask when a relevant message leaves any concrete doubt about what the task means or what should happen next. This includes a missing requirement, an unexplained transition or contradiction, a competing reading, an unsupported premise, a method that conflicts with the goal or evidence, or a changed goal or acceptance. Do not suppress a doubt merely because one interpretation seems more plausible.

First use the current conversation, supplied material, or an authorized read-only check to resolve a doubt only when that evidence directly settles it without guessing. If any such doubt remains, ask. A concern solely about an optional improvement, unrelated background, or a settled detail is not a reason to interrupt.

Read the full file on GitHub · 230 lines

Files

What ships with it

5 files 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. 2d ago First seen · 230 lines · 125 tokens per session scan A f3c82766cc86

Subscribe to this mod's changes

task-alignment is a skill published in the GitHub repository dongshuyan/compass-skills (774 stars, last pushed 2d ago), licensed MIT. It adds 125 tokens to every session and 5,066 once invoked, about $0.0005 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-12-02.

Related

task-alignment compared with skills from other repositories

task-alignment next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
task-alignmentdongshuyan/compass-skillsSkill7742d agoMITA125Codex
install-memuNevaMind-AI/memUSkill15k2d agononeA61Claude Code, Codex
handoffREMvisual/claude-handoffSkill8622d agoMITA39Claude Code
handoffplanREMvisual/claude-handoffSkill8622d agoMITA28Claude Code
fleet-conductorescoffier-labs/skilletSkill44d agoMITA73Claude Code
mcp-server-reviewescoffier-labs/skilletSkill44d agoMITA81Claude Code
pr-security-reviewescoffier-labs/skilletSkill44d agoMITA60Claude Code