ワンクリックで
install-llmify
Install and configure the LLMify Craft CMS plugin step by step
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Install and configure the LLMify Craft CMS plugin step by step
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | install-llmify |
| description | Install and configure the LLMify Craft CMS plugin step by step |
This guide tells an AI agent how to install and set up the LLMify plugin in a Craft CMS 5 project.
Run the following commands in the Craft project root:
composer require samuelreichor/craft-llmify
php craft plugin/install llmify
If the project uses DDEV:
ddev composer require samuelreichor/craft-llmify
ddev craft plugin/install llmify
llms.txt file.Wrap the content you want converted to markdown with the {% llmify %} tag in your Twig templates:
{% llmify %}
<h1>{{ entry.title }}</h1>
<div>{{ entry.bodyContent }}</div>
{% endllmify %}
Multiple {% llmify %} blocks per template are supported — their content is merged into a single markdown file.
To exclude specific parts within an llmify block:
{% llmify %}
<h1>{{ entry.title }}</h1>
{% excludellmify %}
<nav>...</nav>
{% endexcludellmify %}
<div>{{ entry.bodyContent }}</div>
{% endllmify %}
You can also exclude content by adding the exclude-llmify CSS class to any HTML element. This class name is configurable via the config file.
Generate markdown for all enabled entries using one of these methods:
php craft llmify/markdown/generate
To clear all generated markdown and start fresh:
php craft llmify/markdown/clear
Go to LLMify → Dashboard to see an overview of your setup:
After generating markdown, verify these URLs are accessible:
/llms.txt — Summary file listing all enabled entries/llms-full.txt — Full content of all entries/.well-known/llms.txt — RFC 8615 compliant discovery endpoint/raw/{entry-uri}.md — Individual markdown page (if markdownUrlPrefix is set)Test auto-serve markdown with:
curl -H "Accept: text/markdown" https://your-site.com/your-entry-url
For detailed configuration options and advanced usage, see the LLMify documentation.