# Engineering Decision Trace Writer

> Save engineering decisions, evidence, and follow-up needs so future coding agents can recover the context.

Engineering Decision Trace Writer is a free AI agent skill on Agensi by Ray Carter, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ray Carter](https://www.agensi.io/creators/ray-carter)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-05
- Security: scan passed (2026-10-05); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/engineering-decision-trace-writer
- Tags: documentation, engineering-decisions, codex, agent-memory

## About this skill

Repeatedly explaining why a technical decision was made wastes time and invites the same mistakes. This skill saves settled engineering decisions as local project notes that future coding agents can use.

### What it does

- **Preserves reasoning:** Records the problem, supporting evidence, decision, and rejected alternatives.
- **Captures constraints:** Keeps important user clarifications and behavior requirements alongside the decision.
- **Maintains existing notes:** Updates a relevant trace when its status changes instead of creating another copy.
- **Supports follow-up:** Identifies validation gaps, affected files, and reasons to revisit the decision.

### How it works

1. Finish the review, investigation, or design discussion that establishes the decision.
2. Ask the agent to preserve it for future work, specifying a location if needed.
3. The agent checks project evidence and existing notes, then creates or updates the record.
4. Receive the file location, checks performed, and any remaining uncertainties.

### Works with

Codex and local code repositories, including project instructions, Markdown documentation, code, tests, diffs, and logs. It follows the repository's existing convention for decision notes.

### Why use this skill

Future agents get the reasoning behind a choice, not just the final answer. Keeping evidence and validation status together reduces repeated investigation and makes handoffs clearer.

### Use cases

- Preserve a bug finding after diagnosis.
- Explain why an architecture alternative was rejected.
- Carry user-defined behavior constraints into later coding sessions.

### Known limitations

Use it after a decision is settled. It does not replace the investigation itself or formal architecture documentation.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Engineering Decision Trace Writer skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill help my AI agent avoid making the same mistake twice?

It prevents 'context drift' by creating durable, machine-readable records of why technical choices were made, ensuring future agents don't revert your changes or repeat debunked experiments.

### Which AI agents and repository structures are compatible with the Decision Trace Writer?

The skill is optimized for Codex-based models and local repositories; it integrates with your existing file structure by following your project's specific Markdown or documentation conventions.

### Is this meant to replace my project's existing README or architecture documentation?

Unlike standard documentation, this skill is designed for 'agent-to-agent' handoffs, capturing rejected alternatives and specific validation gaps that typical READMEs often omit.

### What happens if I make a new decision that contradicts a previous note?

The agent automatically scans for existing notes related to the topic and updates the original trace with new evidence or status changes rather than cluttering your repo with duplicate files.

### Do I need to configure specific templates or folders before the skill can start writing traces?

Setup is minimal; once the skill is added to your agent's toolkit, it simply requires access to your local file system to read project evidence and write the decision logs.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
