# Entry Rules and Buy Zones: Pre-Commit Your Buying

> Write buy zones, a standing entry checklist and plan gates, then evaluate them with a script. Buy-side twin of exit rules.

Entry Rules and Buy Zones: Pre-Commit Your Buying is a free AI agent skill on Agensi by Ignasi, in Trading & Investing. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ignasi](https://www.agensi.io/creators/ignasi)
- Category: [Trading & Investing](https://www.agensi.io/skills/trading-investing)
- Version: 1.0.0
- Last updated: 2026-12-03
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/entry-rules-and-buy-zones-pre-commit-your-buying
- Tags: trading-investing, investing, risk-management

## About this skill

Exit rules tell you when to sell. This skill does the same job for buying: it teaches your agent to write per-name buy zones you can monitor, a checklist every buy or add must pass, and portfolio gates that stop a cheap price from overriding your own limits. The rules are written while calm, in numbers, so the dip does not write them for you.

### What it does

- Drafts buy zones on six measures: closing price below X, percent fall from the 52-week high, revenue growth, gross margin or operating margin held for N consecutive quarters, forward P/E below X.
- Anchors levels to the name's own history (prior margin peaks, normal drawdowns), not generic numbers.
- Rejects a zone that is already met today, because it would fire immediately and mean nothing.
- Builds a standing checklist: revenue growth min, operating margin min, FCF yield min, forward P/E max, net debt/EBITDA max, share dilution max, max weight after the add.
- Separates STRUCTURAL failures (an automaker will never clear a 10 % operating margin: grant an exception or drop the name) from TEMPORARY ones (negative FCF during a capex swing).
- Applies plan gates: buy only inside the target mix band, trend is timing and never the reason, never average down on a damaged thesis.
- A met zone prints RE-CHECK, never BUY.

### What you get

| File | Purpose |
|---|---|
| SKILL.md | 10-step procedure and hard rules |
| references/rule-catalog.md | measures, units, anchoring recipes |
| references/checklist-and-gates.md | checklist, structural vs temporary, gates |
| references/traps.md | 14 failure signatures |
| scripts/eval_rules.py | stdlib evaluator for rules vs metrics JSON |
| templates/buy-zone-card.md | one-page card per name |
| examples/ | runnable sample with invented figures |

### Who it's for

Self-directed investors and the agents that help them: anyone who wants buying decisions made by rules written beforehand.

### Scope

Covered: zone design, checklist, failure classification, plan gates, evaluation of rules you supply. Not covered: fetching market data, valuation models, order execution, tax, sizing beyond a weight cap. Examples use invented figures.

Not investment advice.

## Requires

- Python 3.9+

Current metrics for your names (filings or a data vendor), supplied as JSON.

## Known limitations

The script reads metrics you provide and never fetches data. Zones read closing prices and reported quarters, not intraday moves. Checklist lines for banks and insurers (margin, net debt/EBITDA) do not transfer. Not investment advice.

## 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 Entry Rules and Buy Zones: Pre-Commit Your Buying 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

### Does it tell me when to buy?

No. A met zone prompts a re-check of your checklist and plan gates. The script prints RE-CHECK, never BUY.

### Does it fetch prices or financials?

No. You or your agent supply current metrics as JSON; the script is offline, standard library only.

### Is it the same as the exit-rules skill?

It is the buy-side counterpart and uses the same one-rule-per-measure discipline. It works on its own.

### Are the example figures real?

No, they are invented round numbers marked illustrative.

---

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.
