Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/langfuse/langfuse-docsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/langfuse/langfuse-docs/documentation-pages)<a href="https://agentmods.dev/rules/langfuse/langfuse-docs/documentation-pages"><img src="https://agentmods.dev/badge/rules/langfuse/langfuse-docs/documentation-pages/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/langfuse/langfuse-docs/documentation-pages"><img src="https://agentmods.dev/badge/rules/langfuse/langfuse-docs/documentation-pages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01151 | $0.01151 |
| Opus 5.5 | $0.00460 | $0.00460 |
| Sonnet 5.5 | $0.00230 | $0.00230 |
| Haiku 4.5 | $0.00115 | $0.00115 |
Grade A, and why
documentation-pages scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Here's a continuation and elaboration of the guidelines for creating documentation pages for Langfuse, based on the existing documentation structure and content style observed across various files.
These guidelines do not apply to handbook pages.
Langfuse Documentation Creation Guide
General Structure
Each documentation page typically follows a structured format to ensure consistency and ease of understanding. Here’s a breakdown of the common elements:
-
Metadata Block: At the top of each document, include YAML front matter that specifies metadata such as title, description, and category. This helps in SEO optimization and categorizing the content.
--- title: Title of the Document description: A brief description of what the document covers. category: Category Name --- -
Introduction: Start with a brief introduction that outlines what the document will cover and why it’s important. This section sets the context for the readers.
-
Requirements: Except in self-hosting guides (
content/self-hosting/), don't add a separate prerequisites or "Before you begin" section. Put each requirement, such as a role, plan, or prior setup, in the step where the reader needs it, as an info callout at the end of that step. See "Get started pages" inAGENTS.md. Self-hosting guides may use a standalone Requirements or Prerequisites section when it lists unique setup facts the reader needs before starting, such as OS, hardware, tool versions, cluster resources, or licenses, and those facts are not restated as prose later on the page or on another user-facing page. -
Step-by-Step Instructions: Provide detailed, actionable steps for the users to follow. Use numbered lists for sequences that need to be followed in order.
-
Code Snippets: Include code examples where necessary. Use syntax highlighting to improve readability. Ensure that any placeholders are clearly indicated.
import langfuse # Replace 'your_api_key' with your actual API key langfuse.configure(api_key='your_api_key') -
Images and Diagrams: Use images and diagrams to explain concepts that are difficult to convey through text alone. Wrap images in a
<Frame>component to maintain styling consistency. Diagrams must fit the page: scale them to the available width and switch to a stacked mobile layout when the scaled version would become unreadable. Never use horizontal "scroll to explore" for diagrams.<Frame className="my-10" fullWidth>  </Frame> -
Callouts: Use the
<Callout>component. Usetype="info"for side notes, requirements, defaults, and pointers. Reservetype="warning"for things that expose or lose data, cost money unexpectedly, or break a setup.<Callout type="info">This is a helpful note.</Callout> -
FAQs and Troubleshooting: Don't add an inline troubleshooting section. Write each problem as its own FAQ page in
content/faq/all/and link to it, for example with<FaqPreview>. Feature pages may end with a short## FAQsection for optional deep-dive topics. See "Documentation pages" inAGENTS.md. -
Provider-specific guidance: Don't add this by default. Only write it when the reader needs something they cannot figure out from the product for a specific provider. If that guidance is short, put it at the bottom of the feature page; if it is long, use a linked FAQ page. Don't enumerate providers in the shared step-by-step guide. Push back on requests to add provider-specific setup that restates what the UI already shows.
-
Further Resources: Provide links to related documents, external resources, or further reading to help users deepen their understanding.
Writing Style
- Clarity and Conciseness: Use clear and concise language. Avoid jargon unless it is commonly understood in the context of the documentation.
- Active Voice: Use active voice to make the content more engaging.
- Second Person: Address the reader directly using second person ("you") to make the text more user-friendly.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago Changed · +2 lines · +9 tokens per session 854c77141b7f
- 13d ago Changed · +2 lines · +168 tokens per session c93e8cc803f3
- 17d ago Changed · +102 tokens per session 1f22dd116449
- 18d ago Changed · +1 lines · +94 tokens per session 5e5432b1a2bf
- 25d ago Changed · +40 tokens per session 8eaf4ec1ed71
- 3mo ago First seen · 74 lines · 738 tokens per session scan A c8855d1a6cee
documentation-pages is a cursor rule published in the GitHub repository langfuse/langfuse-docs (258 stars, last pushed yesterday), licensed MIT. It adds 1,151 tokens to every session, about $0.0046 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
documentation-pages compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| documentation-pageslangfuse/langfuse-docs | Cursor rule | 258 | yesterday | MIT | A | 1,151 | Cursor |
| js-sdk-genai-framework-instrumentationopenlit/openlit | Cursor rule | 3.1k | yesterday | Apache-2.0 | A | 0 | Cursor |
| coding-agents-conventionopenlit/openlit | Cursor rule | 3.1k | yesterday | Apache-2.0 | A | 0 | Cursor |
| coding-agents-hookopenlit/openlit | Cursor rule | 3.1k | yesterday | Apache-2.0 | A | 0 | Cursor |
| controller-designopenlit/openlit | Cursor rule | 3.1k | yesterday | Apache-2.0 | A | 0 | Cursor |
| pr-validationopenlit/openlit | Cursor rule | 3.1k | yesterday | Apache-2.0 | A | 80 | Cursor |
| frontendopenlit/openlit | Cursor rule | 3.1k | yesterday | Apache-2.0 | A | 0 | Cursor |