Skip to main content

Agent-Ready Task Packet Generator

Project description

taspac

taspac is a small CLI-first Agent-Ready Task Packet Generator.

Give it:

  • a GitHub repository (or local repo)
  • a plain-English engineering task

and it generates a structured markdown packet that gives AI coding agents useful repo-specific context before implementation starts.

taspac generate --repo https://github.com/example/repo --task "add JWT auth to upload endpoint"

For slower networks or larger repositories, increase the clone timeout:

taspac generate \
  --repo https://github.com/example/repo \
  --task "add JWT auth to upload endpoint" \
  --clone-timeout 300

Why This Exists

Normally, when you give an AI coding agent a task, it starts with almost no context.

You end up repeatedly explaining:

  • which files matter
  • what parts of the repo are related
  • what commands to run
  • existing patterns in the codebase
  • what could break if changed carelessly

taspac automates that briefing process.

It scans a repository and generates a structured task packet containing:

  • relevant files
  • nearby code snippets
  • useful commands
  • recent commits
  • risks and constraints
  • a focused implementation prompt

The goal is to reduce the amount of repo exploration and context reconstruction an AI agent has to do before it can start making useful changes.

taspac stays deliberately small: paste the packet into Claude Code, Codex, Cursor, Aider, or similar—no extra chat UI or multi-agent stack required.

What It Produces

The generated packet includes:

  • Task
  • Relevant Files
  • Relevant Snippets
  • Suggested Commands
  • Recent Commits
  • Risks / Constraints
  • Agent Prompt

Install

From PyPI:

pip install taspac

From source (editable):

python -m pip install -e .

You can also run without installing:

python -m taspac generate --repo ./examples/demo-repo --task "add JWT auth to upload endpoint"

Demo Workflow

python -m taspac generate \
  --repo ./examples/demo-repo \
  --task "add JWT auth to upload endpoint" \
  --output examples/generated-packet.md

Open examples/generated-packet.md to see a sample task packet.

Design Decisions

taspac intentionally keeps the implementation direct and local-first.

It:

  • scores files using lightweight heuristics instead of embeddings infrastructure
  • extracts nearby snippets around task-relevant matches
  • infers likely commands from project files like package.json, Makefile, and pyproject.toml
  • reads recent commits touching matched files using git log
  • generates simple risk/invariant hints from task keywords and matched paths

The project deliberately avoids:

  • authentication
  • dashboards
  • vector databases
  • hosted infrastructure
  • multi-agent orchestration
  • long-running background services

The goal was to build the smallest genuinely useful version possible within a few hours.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taspac-0.1.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

taspac-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file taspac-0.1.0.tar.gz.

File metadata

  • Download URL: taspac-0.1.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for taspac-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1f12dd98ef1e48acb2695b2bb5b2cdded263e915ef576d98e61046aa545eac5e
MD5 296056c29191ec9aa7988370cac909a0
BLAKE2b-256 788e34242e419ee40f5307d9d6627787730d7024301d367fdb3606f2940e7854

See more details on using hashes here.

Provenance

The following attestation bundles were made for taspac-0.1.0.tar.gz:

Publisher: publish.yml on ruxir-ig/taspac

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file taspac-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: taspac-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for taspac-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab5efd8ff08936b07940b48b9ee8c6dc493b8849470259a7c99c804a99201943
MD5 b5fb146544955d8df237b9cad8ee4bee
BLAKE2b-256 2b385f2f99492f472870926457f358cf8c8b22f86ebd01dc83479f07206542b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for taspac-0.1.0-py3-none-any.whl:

Publisher: publish.yml on ruxir-ig/taspac

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page