Logo Autodream Goal Decomposition

Autodream Goal Decomposition

Tổ chức
UitbreidenOS
autodream-goal-decomposition

Claude Code AutoDream: tự động phân rã mục tiêu từ các mục tiêu cấp cao, tự động tạo kế hoạch, tự định hướng thực hiện nhiệm vụ, tinh chỉnh lặp lại và chuyển mục tiêu thành hành động

Add to TypingMind

Tổng quan

Nhà phát hànhUitbreidenOS
Kho mãUitKit
Tên kỹ năngautodream-goal-decomposition
Sao
14
Bản fork
5
Tệp đi kèm
Chỉ có hướng dẫn
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 dùng hướng dẫn viết bằng Markdown thay vì 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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được UitbreidenOS công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Autodream Goal Decomposition 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 của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/UitbreidenOS/UitKit/tree/main/plugins/uitkit-ai-engineering/skills/autodream-goal-decomposition
  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/UitbreidenOS/UitKit.git /tmp/UitKit
mkdir -p .claude/skills
cp -r /tmp/UitKit/plugins/uitkit-ai-engineering/skills/autodream-goal-decomposition .claude/skills/autodream-goal-decomposition
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 Autodream Goal Decomposition 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ự nạp Autodream Goal Decomposition 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 bạn có thể dùng Autodream Goal Decomposition với cả những mô hình khác ngoài mô hình ban đầu. 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 khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổ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.

AutoDream — Autonomous Goal Decomposition

When to activate

  • User provides a high-level objective ("Make the API 10x faster", "Get the project to 1000 stars") without specific steps
  • Breaking down ambiguous goals into concrete, executable tasks
  • When the user says "figure it out" or "do whatever it takes to achieve X"
  • Multi-day or multi-week projects that need automatic decomposition into daily work units
  • Autonomous agents that need to self-direct without constant human task assignment
  • Strategic planning where the end-state is clear but the path is not

When NOT to use

  • Tasks with explicit, step-by-step instructions already provided
  • Simple, well-defined requests ("Add a login button to the header")
  • When the user wants to make all architectural decisions themselves
  • Tasks requiring human judgment at every decision point (hiring, legal, financial)
  • One-off bug fixes or small feature requests

Instructions

1. Goal Decomposition Framework

AutoDream translates objectives into actionable plans:

Objective: "Reduce API response time by 90%"
    │
    ├── Goal 1: Profile current performance
    │   ├── Task 1.1: Add request timing middleware
    │   ├── Task 1.2: Identify top 10 slowest endpoints
    │   └── Task 1.3: Baseline: record current p50/p95/p99
    │
    ├── Goal 2: Optimize database layer
    │   ├── Task 2.1: Add query profiling to ORM
    │   ├── Task 2.2: Identify N+1 queries and add eager loading
    │   ├── Task 2.3: Add indexes for top 5 slow queries
    │   └── Task 2.4: Implement query result caching (Redis)
    │
    ├── Goal 3: Optimize application layer
    │   ├── Task 3.1: Add response compression (gzip/brotli)
    │   ├── Task 3.2: Implement response caching headers
    │   └── Task 3.3: Move heavy computations to background jobs
    │
    └── Goal 4: Validate and measure
        ├── Task 4.1: Run load test (k6/Artillery)
        ├── Task 4.2: Compare p50/p95/p99 against baseline
        └── Task 4.3: If < 90% improvement, identify remaining bottlenecks

2. Decomposition Algorithm

yaml
autodream_process:
  step_1_understand:
    - Parse objective into measurable criteria
    - Identify constraints (time, budget, technical debt)
    - Determine success metrics (what does "done" look like?)
    
  step_2_explore:
    - Assess current state (what exists today?)
    - Identify gaps (where are we vs. where we need to be?)
    - Research approaches (what solutions exist for this class of problem?)
    
  step_3_decompose:
    - Break objective into 3-5 sub-goals (independent workstreams)
    - For each sub-goal, identify 3-7 concrete tasks
    - Order tasks by dependency (what must come first?)
    - Estimate effort per task (trivial / small / medium / large)
    
  step_4_prioritize:
    - Rank by impact: which tasks move the needle most?
    - Rank by effort: which are quickest wins?
    - Identify critical path: minimum set of tasks to achieve objective
    - Flag risks: what could block each task?
    
  step_5_execute:
    - Start with highest-impact, lowest-risk tasks
    - After each task: measure progress toward objective
    - If measurement shows no improvement: re-evaluate approach
    - If new information emerges: update the plan

3. Self-Directed Execution

Once decomposed, AutoDream executes tasks autonomously:

yaml
execution_loop:
  while objective_not_met:
    1. pick_next_task(priority_queue)
    2. check_dependencies(task)
       if blocked: skip, try next task
    3. execute(task)
       - Write code / make changes
       - Run relevant tests
       - Verify the change works
    4. measure_progress(objective_metric)
       if improved: log progress, continue
       if regressed: revert, try alternative approach
       if no_change: flag for review, continue
    5. update_plan(learnings)
       - Add new tasks discovered during execution
       - Remove tasks that became unnecessary
       - Adjust estimates based on actual velocity

4. Iterative Refinement

AutoDream improves its plan as it learns:

Before starting:

Plan: 12 tasks, estimated 3 days
Critical path: Profile → Optimize DB → Optimize App → Validate
Risk: "Unknown if caching will help without profiling data"

After completing Goal 1 (profiling):

Learning: "80% of latency is in 3 database queries, not the app layer"
Plan update: 
  - Expand Goal 2 (4 → 6 tasks, deeper DB optimization)
  - Reduce Goal 3 (3 → 1 task, app-layer optimization less impactful)
  - Revised estimate: 2 days (faster than expected)

5. Progress Reporting

markdown
## AutoDream Progress Report

**Objective:** Reduce API response time by 90%
**Baseline:** p99 = 2,400ms | **Current:** p99 = 380ms (84% improvement)
**Status:** Goal 3 of 4 | Task 10 of 14

### Completed
| Task | Impact | Time |
|------|--------|------|
| Profile endpoints | Found 3 bottlenecks | 30m |
| Fix N+1 in /users | p99: 2400ms → 1200ms | 1h |
| Add Redis cache | p99: 1200ms → 600ms | 2h |
| Add indexes | p99: 600ms → 380ms | 45m |

### In Progress
- Compress responses (brotli) — expected 10-15% further improvement

### Remaining
- Background job for report generation
- Final load test validation

### Revised Estimate
Original: 3 days → **Revised: 1.5 days** (DB optimization was highest-impact)

6. Objective Templates

Common objective patterns AutoDream handles:

yaml
performance_objective:
  template: "Make {system} {N}x {faster/cheaper/smaller}"
  decompose_into: [profile, optimize_hotspots, validate, benchmark]
  
quality_objective:
  template: "Get {project} to {quality_standard}"
  decompose_into: [audit_current, fix_critical, improve_coverage, certify]
  
growth_objective:
  template: "Grow {metric} from {current} to {target}"
  decompose_into: [analyze_funnel, identify_levers, implement_top3, measure]
  
migration_objective:
  template: "Migrate {system} from {old} to {new}"
  decompose_into: [assess_scope, plan_phases, migrate_incrementally, validate_parity]

Example

AutoDream decomposing "Get UitKit to trending on GitHub":

yaml
objective: "Get UitKit repository to GitHub Trending"
success_criteria: "Appear in daily or weekly trending for claude-code or developer-tools topic"

decomposition:
  goal_1_content_quality:
    - Fix all 107 frontmatter validation errors
    - Fix 6 manifest stub entries
    - Complete 3 incomplete workspace stacks
    - Add 20 high-value new skills (Q1 2026 features)
    
  goal_2_discoverability:
    - Add topic tags: claude-code, ai-coding, developer-tools, skills
    - Optimize README first 100 chars for GitHub preview
    - Add comparison table (UitKit vs competitors)
    - Create "Quick Start" section with install in 30 seconds
    
  goal_3_distribution:
    - Post on Reddit r/ClaudeAI, r/programming
    - Submit to awesome-claude-code list
    - Write "Introducing UitKit" blog post
    - Share in relevant Discord/Slack communities
    
  goal_4_validation:
    - Run all CI checks green
    - Verify install works on fresh machine
    - Test all 5 language localizations
    - Ensure all 42 stacks validate

execution_order: goal_1 → goal_4 → goal_2 → goal_3
reasoning: "Quality before visibility — trending with broken validation damages credibility"

Anti-Patterns

  • Over-decomposition: Breaking "add a button" into 15 sub-tasks — match granularity to task complexity
  • No measurement loop: Executing all tasks without checking if the objective is actually being met — always measure after each goal
  • Rigid plans: Not updating the plan when new information emerges — AutoDream must re-plan as it learns
  • Objective ambiguity: "Make it better" has no measurable success criteria — always define what "done" means numerically
  • Infinite scope: Not time-boxing the exploration phase — set a max exploration budget before committing to a plan
  • Parallel everything: Trying to execute all sub-goals simultaneously without respecting dependencies — respect the critical path

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

Kỹ năng AI Autodream Goal Decomposition làm được gì?

Claude Code AutoDream: tự động phân rã mục tiêu từ các mục tiêu cấp cao, tự động tạo kế hoạch, tự định hướng thực hiện nhiệm vụ, tinh chỉnh lặp lại và chuyển mục tiêu thành hành động

Vì sao nên dùng Autodream Goal Decomposition 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. Autodream Goal Decomposition 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 Autodream Goal Decomposition trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/UitbreidenOS/UitKit/tree/main/plugins/uitkit-ai-engineering/skills/autodream-goal-decomposition. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Autodream Goal Decomposition?

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.

Có thể dùng Autodream Goal Decomposition 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 Autodream Goal Decomposition 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 Autodream Goal Decomposition có miễn phí không?

Kỹ năng này được UitbreidenOS phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công 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à những tiêu chí mà kết quả cần đáp ứng. 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 👇