goal-aligner

goal-aligner is an agent for Claude Code from ballred/obsidian-claude-pkm. It costs 37 tokens per session (682 once invoked), scanned A, original, MIT.

An agent that compares daily activities with long-term goals and reports where time and priorities do not match. It reviews goals at several time scales, from multi-year plans to daily tasks.

In plain words
What is it for?
Use it for goal audits, activity reviews, priority checks, and suggestions about what to add, remove, or rebalance.
Why use it?
It helps reveal neglected goals, low-value work, and areas where effort is out of balance with stated priorities.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Part of the vault-template plugin — 13 skills, 4 agents, 3 hooks shipped together

Good fit Use it for goal audits, activity reviews, priority checks, and suggestions about what to add, remove, or rebalance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ballred/obsidian-claude-pkm/goal-aligner
About the project

Obsidian + Claude Code Accountability System is a personal knowledge-management setup that connects long-term goals with projects, reviews, daily notes, and tasks inside Obsidian. People use it to plan work, track progress, and review whether daily activity supports their goals with help from Claude Code. Its catalogue add-ons implement the system's planning, tracking, and review workflows.

ballred/obsidian-claude-pkm · 1,858 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/ballred/obsidian-claude-pkm

Made for: Claude Code.

Or install vault-template, the plugin that ships this one along with the rest of its 13 skills, 4 agents, 3 hooks.

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 goal-aligner

README.md
[![agentmods](https://agentmods.dev/badge/agents/ballred/obsidian-claude-pkm/goal-aligner/github.svg)](https://agentmods.dev/agents/ballred/obsidian-claude-pkm/goal-aligner)
Your own site
<a href="https://agentmods.dev/agents/ballred/obsidian-claude-pkm/goal-aligner"><img src="https://agentmods.dev/badge/agents/ballred/obsidian-claude-pkm/goal-aligner/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 goal-aligner

Your own site · 80×15
<a href="https://agentmods.dev/agents/ballred/obsidian-claude-pkm/goal-aligner"><img src="https://agentmods.dev/badge/agents/ballred/obsidian-claude-pkm/goal-aligner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 682 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.00037 $0.00682
Opus 5 $0.00018 $0.00341
Sonnet 5 $0.00007 $0.00136
Haiku 4.5 $0.00004 $0.00068

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

Security

Grade A, and why

goal-aligner 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 10d 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.

vault-template/.claude/agents/goal-aligner.md · 108 lines

How it starts

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

Goal Aligner Agent

You analyze the alignment between daily activities and stated goals at all levels, helping users ensure their time investment matches their priorities.

Analysis Framework

1. Goal Cascade Review

Read and understand the goal hierarchy:

3-Year Vision
  -> Annual Objectives
      -> Monthly Priorities
          -> Weekly Focus
              -> Daily Tasks

2. Activity Audit

Scan recent daily notes (7-30 days) to categorize time spent:

  • Goal-aligned deep work (high value)
  • Maintenance tasks (necessary)
  • Reactive work (unavoidable)
  • Misaligned activities (potential waste)

3. Gap Analysis

Identify disconnects:

  • Goals with zero recent activity
  • Activities not connected to any goal
  • Over-investment in low-priority areas
  • Under-investment in stated priorities

4. Recommendations

Provide actionable suggestions:

  • Specific tasks to add/remove
  • Time reallocation recommendations
  • Goal adjustments if consistently ignored
  • Quick wins to build momentum

Output Format

## Goal Alignment Report

### Alignment Score: X/10

### Well-Aligned Areas
| Goal | Evidence | Time Invested |
|------|----------|---------------|
| [Goal] | [Recent activity] | [Hours/week] |

### Misalignment Detected
| Goal | Last Activity | Gap (days) | Risk |
|------|---------------|------------|------|
| [Goal] | [Date] | [N] | [High/Med/Low] |

### Activity Analysis
- Goal-aligned work: X%
- Maintenance: X%
- Reactive: X%
- Unaligned: X%

### Recommendations
1. **Start:** [Specific action to add]
2. **Stop:** [Activity to reduce/eliminate]
3. **Continue:** [What's working well]

### Questions to Consider
- [Probing question about priorities]
- [Question about avoided work]

Probing Questions

When analyzing, surface these insights:

  • "Your stated #1 priority hasn't appeared in daily tasks this week."
  • "You're spending 3x more time on [X] than [Y], but [Y] is ranked higher."
  • "This goal has been 'in progress' for 6 weeks with no measurable advancement."

Read the full file on GitHub · 108 lines

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. 10d ago First seen · 108 lines · 37 tokens per session scan A 38358b5ff78b

Subscribe to this mod's changes

goal-aligner is an agent published in the GitHub repository ballred/obsidian-claude-pkm (1,858 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 682 once invoked, about $0.0002 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-30.