# Whyfile: every decision, with the reason it was made

> Keeps an append-only log of non-obvious choices: context, decision, rejected options and why. Answers "why did we choose X?" straight from the log.

Whyfile: every decision, with the reason it was made is a free AI agent skill on Agensi by MAJI, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [MAJI](https://www.agensi.io/creators/maji)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/whyfile-every-decision-with-the-reason-it-was-made
- Tags: documentation, productivity, adr, architecture, technical-debt

## About this skill

Technical debt often starts with forgotten context. When a developer asks why a specific database or architecture was chosen six months ago, the answer is usually buried in a slack thread or lost in a previous session. This skill maintains an append-only log of non-obvious technical choices, ensuring every trade-off is documented with its rejected alternatives and rationale.

### What it does
- **Captures context** by documenting the specific situation that forced a technical choice.
- **Documents rejected options** to prevent the team from repeating experiments that already failed.
- **Records rationales** based on facts, benchmarks, and constraints rather than opinions.
- **Tracks reversals** using new entries instead of editing history, maintaining a clear audit trail.
- **Surfaces history** by searching the log to answer "why did we choose X?" with full context.

### How it works
1. **Log a decision** by providing the chosen option, the rejected alternatives, and the specific trade-off made.
2. **Query the log** by asking about a specific tool or feature to retrieve its historical entry.
3. **Reverse a choice** by creating a new entry that links to the original, documenting what new information changed the plan.

### Frameworks & tools
This skill works with any repository structure. It defaults to `docs/decisions.md` but automatically detects and uses existing patterns like `DECISIONS.md` or `docs/adr/`.

### Why this beats prompting it yourself
Manual prompting often misses the "Rejected" field, which is the most important part of avoiding future circular debates. This skill enforces a strict schema and append-only logic that keeps the agent from overwriting past project history.

### Use cases
- Documenting the choice of a specific library over a popular alternative.
- Recording architecture decisions made during a design session.
- Explaining to a new contributor why a specific "obvious" solution was avoided.
- Logging the reversal of a previous decision when new constraints emerge.

### Known limitations
Focuses only on non-obvious technical trade-offs. It will skip trivial choices like code formatting or standard library usage.

## 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 Whyfile: every decision, with the reason it was made 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

### What does Whyfile: every decision, with the reason it was made do?

Keeps an append-only log of non-obvious choices: context, decision, rejected options and why. Answers "why did we choose X?" straight from the log.

### Which AI agents support Whyfile: every decision, with the reason it was made?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Whyfile: every decision, with the reason it was made?

Connect your AI agent to Agensi through MCP, then ask it to use Whyfile: every decision, with the reason it was made on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

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.
