Skip to content
Agentmart
Submit a tool

hafez

Route a software project from discovery through delivery, or recover and continue a partially built project using Hafez state, evidence, slices, verification…

Skill by EngMahmoudHafez

IndexedMIT
Write a review

Chalk Labs

Need help deploying hafez?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/engmahmoudhafez-hafez

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Route a software project from discovery through delivery, or recover and continue a partially built project using Hafez state, evidence, slices, verification, and handoffs. Use for end-to-end project work or when the correct current phase is unclear.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/hafez

What's inside

Skill name
hafez
Description
Route a software project from discovery through delivery, or recover and continue a partially built project using Hafez state, evidence, slices, verification, and handoffs. Use for end-to-end project work or when the correct current phase is unclear.
License
MIT
Instructions
49 lines in SKILL.md · view on GitHub

Files (4)

  • SKILL.md
  • openai.yaml · agents/
  • lifecycle.md · references/
  • skill-routing.md · references/

SKILL.md (first lines)

# Hafez

Start by establishing facts, not by choosing an architecture.

Users do not need to know Hafez commands or sub-skill names. Translate natural requests into the
matching workflow yourself. Use the CLI when it is available; otherwise follow the same inspection,
state, planning, verification, and handoff contracts directly.

- "Start this project" or "What should we do next?" routes to inspection, then offers adoption.
- "Continue" or "Pick up where we stopped" routes to resume.
- "Keep going", "finish whatever is left", "fix errors and continue", or "run this project autonomously" routes to `hafez-autopilot`.
- Reproducible failures route to `hafez-debug`; delegated writes route through `hafez-review` before integration.
- Database schema, migration, integrity, query, or data-volume work routes to `hafez-database`.
- API/OpenAPI/versioning/generated-client compatibility routes to `hafez-api-contract`.
- Authentication, authorization, secrets, uploads, dependency, tenancy, or vulnerability review routes to `hafez-security`.
- "Build this feature" routes to resume or adopt, then one vertical slice and its stack adapter.
- Multi-part active slices route through `hafez-decompose` before write delegation so the lead can assign safe bounded work units.
- "Is this ready?" routes to verification and an evidence-based readiness answer.
- "Give this to another model" routes to bounded delegation and a durable handoff.
- "Coordinate these repositories" routes to an explicit `hafez-workspace` graph; names and paths are
  never treated as architecture.

Continue through reversible in-scope implementation and local verification without asking for routine
confirmation. Pause only at the decision boundaries recorded by the project or when new authority is
required.

When the runtime is available, use `hafez run <path>` to obtain the bounded next action. The host
agent performs queued planning or implementation, records the result, and runs it again. Use
`--execute` only for deterministic configured gates and handoffs; the CLI does not contain a model and
must pause before agent-owned work.

1. If `.hafez/state.json` is absent, use `hafez-inspect`; use `hafez-adopt` only when the user wants durable project state.
2. If state exists, use `hafez-resume` before proposing work.
3. Choose one current focus: discovery, foundation, delivery, integration, hardening, release, or operation.
4. Plan end-user capabilities as vertical slices with `hafez-plan-slice`.
5. Use `hafez-decompose` when a slice has several independently verifiable concerns; then delegate independent work with `hafez-delegate`.
6. Keep the strongest available model as lead integrator and use cheaper/helper models for bounded work.
7. Require `hafez-review` approval for write-capable delegated revisions before deterministic integration.
8. Use the matching stack adapter when detected. Stack guidance never overrides observed project conventions.
9. Use `hafez-debug` for recoverable failures, then run `hafez-verify` before claiming completion and `hafez-handoff` whenever work pauses or changes owner.
10. Use `hafez-workspace` when one capability crosses repository boundaries.

Treat code, Git, lockfiles, contracts, and command output as stronger evidence than documentation. Never convert `skipped` or `unavailable` into success.

Use `hafez skills <path> --json` to discover project, user, and bundled skills when the CLI is available. Read [references/skill-routing.md](references/skill-routing.md) before combining lifecycle, stack, review, or Superpowers workflows.

Read [references/lifecycle.md](references/lifecycle.md) when choosing between phases or coordinating multiple repositories.

From EngMahmoudHafez/hafez-development-system, MIT.

More from EngMahmoudHafez/hafez-development-system

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 7, 2026 (24 days ago)
Last release
Oct 6, 2026 (25 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from EngMahmoudHafez

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get hafez running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying hafez?

CallGet help
Cite this page

hafez skill. Agent Mart. https://agentmart.dev/skills/engmahmoudhafez-hafez (last updated 2026-10-24)