Logo Project Brief

Project Brief

Cộng đồng
drayline
project-brief

Generates a structured Project Brief — a comprehensive markdown document that extracts goals, architecture, knowledge file inventory, Custom Instructions summary, Memory contents, current state, ecosystem position, and key decisions from a Claude Project. Briefs serve as uploadable context documents: add one to any other Project for immediate deep awareness of the source Project's purpose, architecture, and progress. Use when user says "create a brief," "brief this project," "extract project context," "generate a project summary for another project," "I need to share this project's context," "prepare this project for cross-project reference," or "document this project." Also use when the user is preparing to work across Projects and needs portable context. Do NOT use for session handoffs, project audits, or Memory optimization (use session-handoff, project-audit, or memory-optimization respectively, if available).

Tổng quan

Nhà phát hànhdrayline
Kho mãrootnode-skills
Tên kỹ năngproject-brief
Sao
40
Bản fork
5
Tệp đi kèm
1
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được drayline công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Project Brief trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-projects/skills/project-brief
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/drayline/rootnode-skills.git /tmp/rootnode-skills
mkdir -p .claude/skills
cp -r /tmp/rootnode-skills/plugins/rootnode-projects/skills/project-brief .claude/skills/project-brief
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Project Brief trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Project Brief ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Project Brief không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Project Brief Builder

Calibration: Tier 1 (Model-compatible) — runs cleanly on the current dual-primary tier (Opus 5.5, Sonnet 5.5) and on Haiku 5.5. Structured retrieval, rule evaluation, or template lookup — output shape does not depend on the model. Fallback-graceful on Opus 5 / Sonnet 5; legacy-graceful on Sonnet 4.6. See repository README for model compatibility.

You generate Project Briefs — structured markdown documents that capture everything another Project needs to understand about a source Project. A brief is not a session summary or a project audit. It is a portable context artifact: upload it to any other Project and that Project immediately has deep awareness of the source Project's purpose, architecture, current state, and ecosystem position.

Briefs are consumed as knowledge files in receiving Projects. Every token matters — a 5,000-token brief in a project with 60,000 tokens of knowledge files is fine, but the same brief in a small project would dominate the context budget. Target 2,000–6,000 tokens. Be dense and structured, not verbose.

Critical: Extraction, Not Fabrication

Every fact in the brief must come from an observable source — Custom Instructions, knowledge files, Memory entries, project file listings, or user-provided context. When information is not available for a section, mark it "Not available — {reason}" rather than inferring. A brief with gaps is more valuable than a brief with fabricated detail.

Critical: Complete File Output

Always output the complete brief as a single markdown document. Never partial sections or diffs. The brief must be directly uploadable to another Project as a knowledge file.


Generate Brief

Produce a portable, structured brief that captures the source Project's identity, architecture, current state, ecosystem position, and key decisions — every fact traceable to an observable source, every gap explicitly marked, total token budget 2,000–6,000. The method that reliably gets there: inventory the project's layers, assess its ecosystem position, assess its health, assemble against the template, then validate-and-deliver. The extraction-not-fabrication and complete-file-output rules above are hard gates inside this pipeline.

When the user asks to create a brief for the current Project:

Step 1 — Inventory project layers. Systematically examine every available layer:

  1. Custom Instructions. Read the full system prompt. Extract: identity and purpose statement, scope boundaries, operational modes, key behavioral rules, output standards, and the knowledge file routing guide (which files exist and when each is consulted).

  2. Knowledge files. Build a complete inventory. Use the project file listing for filenames and sizes. For each file, extract its purpose and content type (behavioral instructions vs. reference material) using the CI routing descriptions and, where necessary, file content. Produce a 1-2 sentence summary per file.

  3. Project Memory. Read all Memory entries. Categorize: orientation facts (identity, role, phase), state tracking (current work, recent decisions), behavioral preferences, and active constraints.

  4. Skills and connectors. Note installed Skills relevant to this project and any CI routing instructions that reference them. Note configured MCP connectors and how the project uses them.

  5. Active session context (optional). If the current conversation contains important context not yet in Memory or knowledge files — active decisions, in-progress work, recent pivots — capture these with a staleness warning ("Current as of {date}, from conversation context — may not persist").

Step 2 — Assess ecosystem position. Determine how this project relates to the user's broader project portfolio:

  • What does this project produce that other projects consume? (Artifacts, decisions, methodology, shared files)
  • What does this project consume from other projects? (Shared files, briefs, strategic direction, upstream outputs)
  • Which projects are upstream (this project depends on them)?
  • Which projects are downstream (they depend on this project)?
  • What is this project's contribution to the user's overall strategic objectives?

If an ecosystem map, project registry, or equivalent cross-project document is available in context, use it to validate and enrich the assessment. If not, derive what is possible from the project's own context and Memory. Mark inferred relationships as inferred.

Step 3 — Assess project health. Capture key health indicators:

  • Context budget: Full-context or RAG mode? Approximate knowledge file token count. Any context pressure symptoms?
  • Architecture quality: Any visible structural issues (mixed behavioral/referential content, orphan files, oversized CI)? Is the CI well-structured?
  • Currency: When were key files last updated? Is Memory current? Any staleness indicators?
  • Completeness: Known gaps, planned but unbuilt components, documented future work?

Step 4 — Assemble the brief. Produce a structured markdown document following the template in references/brief-template.md. All eight sections are mandatory. Mark sections "Not available — {reason}" when data cannot be extracted.

Step 5 — Validate and deliver.

  1. Token check. Estimate the brief's token count (character count ÷ 4 as rough estimate). If it exceeds 6,000 tokens, flag this and offer to compress non-critical sections. Identify which sections carry the most weight and which can be tightened.
  2. Completeness check. Every section populated or explicitly marked with reason for absence.
  3. Accuracy check. Cross-reference extracted facts against source material. No detail that cannot be traced to an observable source.
  4. Freshness markers. Generated date present. Staleness warnings on any session-context items.
  5. File naming. Recommend a project-coded filename like {prefix}_PROJECT_BRIEF.md (e.g., support_PROJECT_BRIEF.md, analytics_PROJECT_BRIEF.md). A project prefix lets receiving Projects route to the correct brief explicitly when cross-project context is needed.

Deliver the complete brief as a downloadable markdown file.


Validate Existing Brief

When the user has an existing brief and wants to check it against the current project state:

  1. Read the existing brief in full.
  2. Inventory the current project state using the same extraction process as Generate Step 1.
  3. Compare section by section. Flag: outdated information, missing new components, changed architecture, shifted priorities, new ecosystem relationships.
  4. Produce a staleness report organized by section, with specific update recommendations for each stale item.
  5. If updates are substantial (3+ sections stale), offer to regenerate the full brief. Output the complete updated document — not diffs applied to the old version.

RAG Mode Handling

When operating in a project with many knowledge files (RAG mode), the brief builder cannot reliably extract full content from every knowledge file — retrieval returns chunks, not complete files.

Handle this gracefully:

  • Use the project file listing (filenames and sizes) as the authoritative inventory for the Knowledge Files table.
  • Use CI routing descriptions as the primary source for file purposes and content types.
  • Supplement with retrieved chunks where available, but note "Content summary based on partial retrieval" for files where only fragments were accessible.
  • State clearly in the brief's header: "Generated in retrieval mode — knowledge file content summaries may be incomplete. Verify against source files for full accuracy."

Do not fabricate file content summaries from filenames alone. A row with "Purpose: See CI routing description" is better than an invented summary.


Token Budget Guidance

Briefs are consumed as knowledge files in receiving Projects. Token discipline matters.

Project ComplexityTarget Brief LengthGuidance
Simple (1-3 KFs, short CI)1,500–2,500 tokensKeep all sections concise. Section 4 (Architecture) drives most length — keep KF summaries to one sentence each.
Moderate (4-8 KFs, structured CI)2,500–4,500 tokensStandard detail level. Full KF inventory table. Architecture summary captures key structural decisions.
Complex (9+ KFs, rich CI, multiple modes)4,000–6,000 tokensMaximum detail. May need to compress Section 6 (Key Decisions) to top 3 most impactful. Flag token count.

If a brief exceeds 6,000 tokens, the primary compression targets are: Section 4 Architecture Summary (tighten CI summary, shorten KF content descriptions), Section 6 Key Decisions (reduce to top 3), and Section 8 Cross-Reference (keep only active references). Do not compress Sections 1-3 or 5 — these carry the highest context-per-token value for receiving Projects.


Examples

Example 1: Generate Brief for Active Project

Input: "Create a brief for this project."

Actions:

  1. Read CI — extract identity, scope, modes, behavioral rules, KF routing.
  2. List all knowledge files from project file listing. Retrieve content summaries via CI descriptions and file access.
  3. Read Memory entries — categorize orientation, state, preferences, constraints.
  4. Note relevant Skills and connectors.
  5. Assess ecosystem position from available cross-project context.
  6. Assess project health — context mode, architecture quality, currency.
  7. Assemble all eight sections following the template.
  8. Validate token count, completeness, accuracy. Deliver as downloadable markdown.

Result: Complete brief (2,000–6,000 tokens) as a markdown file named {code}_PROJECT_BRIEF.md.

Example 2: Validate Stale Brief

Input: User uploads an existing brief and asks "Is this still accurate?"

Actions:

  1. Read the existing brief.
  2. Inventory current project state.
  3. Compare section by section — flag that Phase has advanced from 14 to 17, two new KFs added, one KF removed, Memory updated with new constraints.
  4. Produce staleness report with specific update recommendations per section.
  5. Offer to regenerate since 4+ sections need updates.

Result: Staleness report identifying specific changes, followed by regenerated brief if requested.


When to Use This Skill

Use when:

  • Creating a portable context document for cross-project reference
  • Preparing to share project context with another Project
  • Documenting a project's architecture and current state for reference
  • Updating a previously generated brief after project changes
  • Validating whether an existing brief is still current

Do NOT use when:

  • Wrapping up a session for continuation in the same project → session-handoff if available
  • Diagnosing or scoring project quality → project-audit if available
  • Rebalancing Memory, CI, and knowledge file content → memory-optimization if available
  • Analyzing context budget health → context-budget if available

Troubleshooting

Brief is too long (>6,000 tokens). Compress Architecture Summary (tighten CI description, shorten KF summaries) and Key Decisions (top 3 only). Do not compress Identity, Scope, Current State, or Ecosystem Position — these are highest value.

Cannot access knowledge file contents. Project is in RAG mode. Use CI routing descriptions for file purposes. Note partial retrieval in the brief header. Do not fabricate content summaries.

Ecosystem position is thin. No ecosystem map, registry, or cross-project context available. Derive what is possible from the project's own CI and Memory. Mark ecosystem section as "Derived from project-internal context only — verify against full portfolio view."

Brief conflicts with session handoff. These are different artifacts. A session handoff captures temporal work state for continuation in the same project. A brief captures structural project identity for cross-project reference. If both are needed in the same session, produce them as separate documents.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Project Brief làm được gì?

Generates a structured Project Brief — a comprehensive markdown document that extracts goals, architecture, knowledge file inventory, Custom Instructions summary, Memory contents, current state, ecosystem position, and key decisions from a Claude Project. Briefs serve as uploadable context documents: add one to any other Project for immediate deep awareness of the source Project's purpose, architecture, and progress. Use when user says "create a brief," "brief this project," "extract project context," "generate a project summary for another project," "I need to share this project's context,...

Vì sao nên dùng Project Brief trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Project Brief là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Project Brief trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-projects/skills/project-brief. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Project Brief?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Project Brief với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Project Brief với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Project Brief có miễn phí không?

Có. Kỹ năng này được drayline phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇