langfuse-coding-trace SKILL.md skillB
langfuse-coding-trace from hashgraph-online/awesome-codex-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add hashgraph-online/awesome-codex-plugins/langfuse-coding-trace@git:20260512.6523792Pins git:20260512.6523792 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- hashgraph-online/awesome-codex-plugins
- Path
plugins/Colin4k1024/tsp/skills/langfuse-coding-trace/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260512.6523792, committed May 12, 2026
- Size
- 4,644 bytes
- Repository stars
- 1,537
- License
- Apache-2.0
为编码工作流提供 Langfuse 链路追踪能力。当执行 logic-layer-method-impl 等编码 skill 时,自动上报每个大步骤(识别模式、代码生成、编译、启动、单元测试、代码修复)的开始/结束事件到自部署 Langfuse,实现全流程可观测。凡用户涉及编码流程监控、追踪、可观测性、Langfuse 上报时均应触发此 skill,配合其他编码类 skill 联合使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Langfuse 编码流程追踪
为编码工作流每个关键步骤异步上报 Trace/Span 到 Langfuse,不阻塞主流程。
## 前置条件
需设置以下环境变量(未设置时静默跳过追踪):
```
LANGFUSE_PUBLIC_KEY # Langfuse 公钥
LANGFUSE_SECRET_KEY # Langfuse 私钥
LANGFUSE_HOST # 自部署地址,如 http://192.168.1.100:3000
```
## 脚本位置
```
<skills_dir>/langfuse-coding-trace/scripts/trace.py
```
> 调用前先确认 `LANGFUSE_PUBLIC_KEY` 是否存在,不存在则跳过所有追踪调用。
---
## 追踪点规范
### 第一步:开始编码会话 → 创建 Trace(同步,获取 trace_id)
```bash
TRACE_ID=$(python "<skills_dir>/langfuse-coding-trace/scripts/trace.py" trace-start \
--name "logic-layer-method-impl" \
--input '{"method": "目标方法名", "mode": "首次编码/需求变更"}')
echo "Trace started: $TRACE_ID"
```
### 中间步骤:每个大步骤 → 创建 Span(异步,后台执行)
```bash
# 开始 Span(同步获取 span_id,耗时极短)
SPAN_ID=$(python "<skills_dir>/langfuse-coding-trace/scripts/trace.py" span-start \
--trace-id "$TRACE_ID" \
--name "maven-qa")
# 执行实际步骤 ...(编译/运行/测试等)
# 结束 Span(异步,后台执行)
python "<skills_dir>/langfuse-coding-trace/scripts/trace.py" span-end \
--span-id "$SPAN_ID" \
--output '{"exit_code": 0, "result": "通过"}' \
--level DEFAULT &
# 若失败,用 ERROR 级别
python "<skills_dir>/langfuse-coding-trace/scripts/trace.py" span-end \
--span-id "$SPAN_ID" \
…Read the whole file at its exact version.
How to install
mdr add hashgraph-online/awesome-codex-plugins/langfuse-coding-trace@sha256:10360269d0e5bc43The line at the top of this page pins the label git:20260512.6523792, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_bhvif5wbepgqvo22)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on May 12, 2026.
Audit of the latest version
- fail: No link to a raw IP address (matched: http://192.168.1.100:3000)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4644 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
hashgraph-online/awesome-codex-plugins · 1,537 stars · license Apache-2.0 · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bhvif5wbepgqvo22 GET https://markdownregistry.com/api/v1/resolve?ref=hashgraph-online/awesome-codex-plugins/langfuse-coding-trace GET https://markdownregistry.com/api/v1/blob/10360269d0e5bc439c2c4a70ce7417b68871de2b8e6994ef3a8a045860cbb140
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.