# Memory and skills

> Shared project memory and skills in AgentForge: Markdown notes, the wikilink graph, the memory tools for agents, 30 ready-made skills and update rules.

- Canonical: https://www.zekfy.com/docs/memory-and-skills/
- Türkçe: https://www.zekfy.com/tr/dokumanlar/hafiza-ve-skiller/
- Last updated: 2026-12-02

AgentForge has two kinds of lasting knowledge. **[Memory notes](https://www.zekfy.com/glossary/#memory-note)** hold knowledge specific to the project: decisions taken, rules, architecture, known bugs. **[Skills](https://www.zekfy.com/glossary/#skill)** describe step by step how a kind of work is done. Both are plain Markdown files in the project's `.forge` folder, open to you and to the agents.

## Memory notes

Each note is a Markdown file in the `.forge/memory/` folder. The file name is the note's id. A note links to another note with the `[[note-id]]` syntax.

### Note types

The type values are written in Turkish in the note files:

| Type     | Meaning      | Used for                        |
| -------- | ------------ | ------------------------------- |
| `karar`  | decision     | A decision taken and its reason |
| `kural`  | rule         | A rule or convention to follow  |
| `mimari` | architecture | A description of structure      |
| `hata`   | bug          | A known bug and its fix         |
| `sözlük` | glossary     | The definition of a term        |
| `görev`  | task         | A note about a piece of work    |
| `kişi`   | person       | Information about a person      |

A note can also carry tags, related file paths and a one-line summary. The content is at most 20,000 characters of Markdown.

### The Memory view

`Ctrl+M` opens the [Memory](https://www.zekfy.com/agentforge/features/memory/) view. The view contains:

- a force-directed graph showing the notes and the links between them,
- a backlink panel listing the notes that link to the selected note,
- an editor for the note,
- a search that blends keyword matching with a local vector similarity based on character trigrams.

The search uses no external model and makes no network request; it works offline.

### How agents use memory

| Tool            | What it does                                                                                  |
| --------------- | --------------------------------------------------------------------------------------------- |
| `memory_recall` | Fetches the relevant notes before a task: ranked short summaries and the reason for the match |
| `memory_search` | Runs a hybrid search over the notes                                                           |
| `memory_list`   | Lists note ids by type and tag                                                                |
| `memory_read`   | Reads the content of a note                                                                   |
| `memory_write`  | Writes or updates a note                                                                      |
| `memory_link`   | Links two notes                                                                               |
| `memory_forget` | Removes a note from memory                                                                    |

`memory_forget` does not delete permanently: it moves the note to the `.forge/memory/.trash` folder, from which the note can be restored. The memory tools are open to every role.

### Editing the same note together

If an agent updates a note with `memory_write` while you are editing it, AgentForge shows a "file changed on disk" warning. Your draft is kept, and you can choose to load the version on disk.

## Skills

A skill is a Markdown file describing the method followed by a specialist doing a particular kind of work: when it is used, which inputs are needed, which steps are followed, what is checked before delivery and which [evidence](https://www.zekfy.com/glossary/#evidence) is added to the card.

### Ready-made skills

When AgentForge opens a project it adds 30 skill templates to the project's `.forge/skills/` folder. The templates fall into three areas, and their file names are Turkish:

| Area   | Example skills                                                                                                                                                                                                                                                                                                                                                                   |
| ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Code   | `bug-avci` (debugging), `tdd-uygula` (test-driven development), `test-yaz` (writing tests), `guvenlik-denetim` (security audit), `security-review`, `pr-hazirla` (preparing a pull request), `commit-push`, `api-tasarim` (API design), `performans-analiz` (performance analysis), `frontend-tasarim`, `ui-inceleme` (UI review), `dokuman-yaz` (documentation), `context7-doc` |
| Visual | `gorsel-brief`, `gorsel-istem` (prompts), `gorsel-ikon-logo`, `gorsel-illustrasyon`, `gorsel-kalite-kontrol` (quality control), `gorsel-uretim-yollari` (generation routes)                                                                                                                                                                                                      |
| Shared | `takim-iletisim` (team communication), `dogrulama` (verification)                                                                                                                                                                                                                                                                                                                |

The skill templates are written in Turkish and are engine-neutral: Claude, Codex and Gemini use the same text.

### How a skill reaches an agent

The content of a skill is not embedded in the agent prompt. Only the skill's path and one-line description go into the prompt, and the agent opens the file if it needs to. At most two skills are suggested for a card.

- **From the card text:** a skill is suggested when its trigger words appear in the card text. Code skills do not go to a visual card, and visual skills do not go to a code card.
- **For Claude Code:** skills are additionally synced as `.claude/skills/agentforge-<name>/SKILL.md`. Only folders with the `agentforge-` prefix are touched; your own Claude skills are not overwritten.

### Editing a skill and adding a new one

Your own skills are edited in the skill editor of the Plugins view (`Ctrl+P`) or in any text editor. The skills that come with the app appear in Plugins with only their name and description and a Built-in badge; their content is not shown there and cannot be edited. Agents read the full text of these skills from the copies in the project, and the copies are kept out of the repository by `.forge/.gitignore`. To add your own rules, create a new skill: a new skill is a Markdown file added to the `.forge/skills/` folder, and it does go into the repository. The template format uses this front matter:

```markdown
---
description: '<when it is used + what it provides; at most 140 characters>'
tetik: [root word, another root]
surum: 2
alan: kod
---
```

The `tetik` field lists trigger words, `surum` is the format version, and `alan` is the area: `kod` (code), `gorsel` (visual) or `ortak` (shared). The description should be short and selective, because the agent decides whether to open the file by looking at it alone.

### Update rules

Each time AgentForge opens the project it compares the templates with the copies in the project:

| Skill file in the project                            | What happens                  |
| ---------------------------------------------------- | ----------------------------- |
| Missing                                              | Added from the template       |
| Identical to the current template                    | Left alone                    |
| Byte-for-byte identical to an older template version | Replaced with the new version |
| A file you edited (even one character)               | Left alone                    |
| A skill you added that is not in the templates       | Left alone, not deleted       |

If you want the new version of a skill you edited, delete the file and reopen the project; the missing file is added from the template.

## Which one to use when

| Knowledge                                                                      | Where it goes                                |
| ------------------------------------------------------------------------------ | -------------------------------------------- |
| "In this project every change touching the payment module needs two reviewers" | A [memory note](https://www.zekfy.com/glossary/#memory-note) of type `kural`                |
| "We decided to use a session cookie for authentication"                        | A memory note of type `karar`                |
| "How to reproduce a bug and find its root cause"                               | A skill                                      |
| "What I did on this card and how I verified it"                                | A card comment (`board_comment`), not memory |

## Related pages

- [First mission](https://www.zekfy.com/docs/first-mission/)
- [MCP tools](https://www.zekfy.com/agentforge/mcp-tools/)
- [Glossary](https://www.zekfy.com/glossary/)
