edgartools: Command for Claude Code

.claude/commands/task.md

task is a command for Claude Code from dgunning/edgartools. It costs 13 tokens per session (1,330 once invoked), scanned A, original, MIT.

A command for creating and managing development tasks through Beads, a task-tracking system, using conventions from the EdgarTools project.

In plain words
What is it for?
Use it to create tasks, list open work, view task details, complete tasks, and turn GitHub issues into tracked work.
Why use it?
It keeps feature work and bug fixes in a structured list instead of scattered notes or manual commands.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

This is dgunning/edgartools's own configuration. It tells Claude Code how to work on edgartools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything edgartools configures →

About the project

EdgarTools is a Python library that turns SEC EDGAR filings into structured, typed data, including financial statements, insider trades, fund holdings, and other filing types. It is used to analyze regulatory filings in notebooks, data pipelines, and AI systems. Its catalogue add-ons operate the library through skills, commands, instructions, and an MCP server.

dgunning/edgartools · 2,837 stars · on GitHub · edgartools.readthedocs.io

Reuse

Borrowing it

Nothing to install: this file belongs to dgunning/edgartools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dgunning/edgartools/main/.claude/commands/task.md
Clone the repo
git clone --depth 1 https://github.com/dgunning/edgartools

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/dgunning/edgartools/task"><img src="https://agentmods.dev/badge/commands/dgunning/edgartools/task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,330 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.00013 $0.01330
Opus 5.5 $0.00005 $0.00532
Sonnet 5.5 $0.00003 $0.00266
Haiku 4.5 $0.00001 $0.00133

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

Security

Grade A, and why

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • task — 100% identical, 0 lines differ
.claude/commands/task.md · 167 lines

How it starts

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

Task Management Command

Create, update, and manage structured development tasks using Beads for fast, scalable tracking. This command is a wrapper around bd commands with EdgarTools-specific conventions.

Tracking System: Beads (bd commands) Documentation: ROADMAP.md (strategic planning), VELOCITY-TRACKING.md (historical analysis) Integration: Coordinates with product-manager for prioritization

Usage Examples

# Create a new feature task
/task new feature "Multi-company financial comparison"

# Create a bug fix task from GitHub issue
/task new bug "Cash flow statement missing values" --github=408

# List active tasks
/task list

# Show task details
/task show edgartools-abc

# Mark task as complete
/task complete edgartools-abc

Note: This command is a convenience wrapper around bd commands. For direct Beads usage:

bd create --title "Feature: X" --status open --priority P1 --labels feature
bd list --status open
bd update ISSUE_ID --status in_progress
bd update ISSUE_ID --status done

Command Implementation

This command wraps bd (Beads) commands with EdgarTools conventions:

Creating New Tasks

# Map task type to labels
case $task_type in
    feature) labels="feature" ;;
    bug) labels="bug" ;;
    research) labels="research" ;;
    refactor) labels="refactor" ;;
esac

# Create in Beads with external ref if from GitHub
if [ -n "$github_issue" ]; then
    bd create --title "$task_type: $task_title" \
              --status open \
              --external-ref "gh:$github_issue" \
              --labels "$labels" \
              --priority P2
else
    bd create --title "$task_type: $task_title" \
              --status open \
              --labels "$labels" \
              --priority P2
fi

# Optionally create detailed plan markdown file for complex tasks
# (Only create if task requires architectural planning or multiple steps)

Listing Tasks

# List all open tasks
bd list --status open

# Or filter by type
bd list --status open --labels feature
bd list --status open --labels bug

Read the full file on GitHub · 167 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. 2mo ago First seen · 167 lines · 13 tokens per session scan A 0464838c07c5

Subscribe to this mod's changes

task is a command published in the GitHub repository dgunning/edgartools (2,837 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 1,330 once invoked, about $0.0001 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-30.

Related

task compared with commands from other repositories

task next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
taskdgunning/edgartoolsCommand2.8kyesterdayMITA13Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code
speckit.bug.fixgithub/spec-kitCommand148kyesterdayMITA12Claude Code