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, andpyproject.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f12dd98ef1e48acb2695b2bb5b2cdded263e915ef576d98e61046aa545eac5e
|
|
| MD5 |
296056c29191ec9aa7988370cac909a0
|
|
| BLAKE2b-256 |
788e34242e419ee40f5307d9d6627787730d7024301d367fdb3606f2940e7854
|
Provenance
The following attestation bundles were made for taspac-0.1.0.tar.gz:
Publisher:
publish.yml on ruxir-ig/taspac
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
taspac-0.1.0.tar.gz -
Subject digest:
1f12dd98ef1e48acb2695b2bb5b2cdded263e915ef576d98e61046aa545eac5e - Sigstore transparency entry: 2256991376
- Sigstore integration time:
-
Permalink:
ruxir-ig/taspac@fff4c5184f3367fa8894fe0ca6e4404da11fb360 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ruxir-ig
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fff4c5184f3367fa8894fe0ca6e4404da11fb360 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab5efd8ff08936b07940b48b9ee8c6dc493b8849470259a7c99c804a99201943
|
|
| MD5 |
b5fb146544955d8df237b9cad8ee4bee
|
|
| BLAKE2b-256 |
2b385f2f99492f472870926457f358cf8c8b22f86ebd01dc83479f07206542b1
|
Provenance
The following attestation bundles were made for taspac-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on ruxir-ig/taspac
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
taspac-0.1.0-py3-none-any.whl -
Subject digest:
ab5efd8ff08936b07940b48b9ee8c6dc493b8849470259a7c99c804a99201943 - Sigstore transparency entry: 2256991392
- Sigstore integration time:
-
Permalink:
ruxir-ig/taspac@fff4c5184f3367fa8894fe0ca6e4404da11fb360 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ruxir-ig
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fff4c5184f3367fa8894fe0ca6e4404da11fb360 -
Trigger Event:
release
-
Statement type: