Skip to main content
Slide supports two complementary ways to inject instructions into your agent’s system prompt:
  • Skills — progressively disclosed on-demand via the activate_skill tool
  • AGENTS.md — eagerly loaded into the system prompt at init time
Both follow open standards: Open Agent Skills and AGENTS.md. Code Examples

Skills Example

Progressive skill disclosure in action

AGENTS.md Example

Project instructions in action

Skills

Skills let you package reusable instructions that agents load only when they need them. Instead of stuffing everything into the system prompt, skills keep the prompt small and focused — the agent sees a short menu of available skills and activates the ones relevant to the current task.

How skills work

  1. You point the agent at one or more skill directories
  2. At init time, only each skill’s name and description appear in the system prompt
  3. When the agent decides it needs a skill, it calls the activate_skill tool
  4. The skill root path and full instructions from SKILL.md are returned to the agent as a tool result

Creating a skill

A skill is a directory containing a SKILL.md file. The file has YAML frontmatter (name + description) followed by markdown instructions:
Example SKILL.md:

Frontmatter requirements

Using skills with an agent

The agent’s system prompt will include something like:
When the agent encounters a task that matches a skill, it will call activate_skill with the skill name and receive the full instructions.

Using skills with config files

Relative paths are resolved relative to the config file’s directory.

AGENTS.md

AGENTS.md files provide project-level instructions that are eagerly loaded into the agent’s system prompt at init time. Unlike skills (which are progressively disclosed), AGENTS.md content is always present — making it ideal for coding standards, API conventions, and other rules that should always apply.

How it works

  1. Auto-discovery is enabled by default, or you point the agent at one or more AGENTS.md files
  2. At init time, the file contents are loaded and placed in a <project_instructions> block in the system prompt
  3. The agent sees these instructions on every interaction

Creating an AGENTS.md file

Create an AGENTS.md file in your project root (or any directory). No special frontmatter or formatting is required — it’s just markdown:

Using AGENTS.md with an agent

Default auto-discovery

By default, Tyler discovers AGENTS.md files by walking upward from the current working directory:

Explicit path

Auto-discovery

You can also set agents_md=True explicitly. Agent.from_config() starts discovery from the config file directory when agents_md is omitted or set to true:
This is useful in monorepos where you might have:
Files are loaded root-first, so the closest file’s instructions appear last (taking natural precedence).

Disable loading

Multiple files

Multiple files are joined with --- separators.

Using AGENTS.md with config files

Relative paths are resolved relative to the config file’s directory.

Size limits

AGENTS.md content is guarded against oversized files:
  • Individual files larger than 100,000 characters are skipped with a warning
  • Combined content from multiple files is truncated at 100,000 characters
If your instructions exceed this limit, consider moving task-specific content into skills instead.

When to use which

Use AGENTS.md for short, universal project rules that should always be in context. Use skills for detailed, task-specific instructions that only matter sometimes. You can use both together.

Next steps

Adding Tools

Give your agents more capabilities

MCP Integration

Connect to external tool servers