@agent-smith/feat-agents 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +267 -0
  2. package/dist/agents/agent-smith-assistant.yml +31 -0
  3. package/dist/agents/agent-smith-code.yml +33 -0
  4. package/dist/agents/agent-smith-colab.yml +38 -0
  5. package/dist/agents/agent-smith-doc-colab.yml +55 -0
  6. package/dist/agents/agent-smith-doc.yml +52 -0
  7. package/dist/agents/agent-smith-help-assistant.yml +46 -0
  8. package/dist/agents/agent-smith-help-light.yml +44 -0
  9. package/dist/agents/agent-smith-help.yml +43 -0
  10. package/dist/agents/agent-smith-light.yml +19 -0
  11. package/dist/agents/agent-smith-project.yml +43 -0
  12. package/dist/agents/agent-smith-search.yml +40 -0
  13. package/dist/agents/agent-smith-sql.yml +31 -0
  14. package/dist/agents/agent-smith-state.yml +40 -0
  15. package/dist/agents/agent-smith.yml +42 -0
  16. package/dist/agents/collaborator.yml +16 -0
  17. package/dist/agents/infer.yml +12 -0
  18. package/dist/fragments/ctx-helper-files.md +6 -0
  19. package/dist/fragments/workspace.md +6 -0
  20. package/dist/skills/create-project-docs/SKILL.md +124 -0
  21. package/dist/skills/create-readme/SKILL.md +103 -0
  22. package/dist/skills/create-task/SKILL.md +55 -0
  23. package/dist/skills/create-task-solo/SKILL.md +146 -0
  24. package/dist/skills/create-task-team/SKILL.md +119 -0
  25. package/dist/skills/document-package/SKILL.md +83 -0
  26. package/dist/skills/execute-task-phase/SKILL.md +25 -0
  27. package/dist/skills/execute-task-solo/SKILL.md +64 -0
  28. package/dist/skills/execute-task-team/SKILL.md +49 -0
  29. package/dist/skills/task-mode/SKILL.md +99 -0
  30. package/dist/skills/update-codebase-summary/SKILL.md +44 -0
  31. package/dist/skills/update-doc-map/SKILL.md +8 -0
  32. package/dist/skills/update-doc-map/scripts/generate-doc-map.mjs +197 -0
  33. package/dist/skills/update-project-nav/SKILL.md +97 -0
  34. package/dist/skills/use-tasks/SKILL.md +103 -0
  35. package/dist/workflows/agent-smith-config-info.yml +9 -0
  36. package/dist/workflows/agent-smith-db.yml +9 -0
  37. package/dist/workflows/q.yml +3 -0
  38. package/dist/workflows/vision.yml +3 -0
  39. package/package.json +15 -0
@@ -0,0 +1,97 @@
1
+ ---
2
+ name: update-project-nav
3
+ description: use when asked to update the project navigation map documentation
4
+ ---
5
+
6
+ This skill describes the workflow to update the project navigation map file (`.agents/documentation/project-nav.md`). This is the canonical reference for AI agents to understand and navigate the entire project.
7
+
8
+ ## Workflow
9
+
10
+ 1. **Read existing file** — Load `.agents/documentation/project-nav.md` from the project root. Note the current sections and content.
11
+
12
+ 2. **Detect changes** — Walk the directory tree, identify what has changed since the last update:
13
+ - New/removed repos or packages
14
+ - New/modified plugins
15
+ - UI component changes
16
+ - New documentation files
17
+ - Architecture changes (new patterns, dependencies)
18
+
19
+ 3. **Update sections** — Go through each section and update as needed. Preserve the existing format and style.
20
+
21
+ ### Section Update Rules
22
+
23
+ #### 1. Project Overview
24
+ - Update the repos table if repos are added/removed/renamed
25
+ - Update the purpose descriptions if functionality changes
26
+ - Keep the 4-column table format: `| Repo | Path | Purpose |`
27
+
28
+ #### 2. Architecture Principles
29
+ - Add new principles when architectural patterns emerge
30
+ - Remove obsolete principles
31
+ - Update "Key Files" column if file locations change
32
+ - Maintain the 3-column table: `| Principle | Detail | Key Files |`
33
+
34
+ #### 3. Dependency Graph
35
+ - Regenerate ASCII art if dependency relationships change
36
+ - Update the prose explanation below the graph
37
+ - Keep the visual format consistent (boxes, arrows, labels)
38
+
39
+ #### 4. Runtime Packages
40
+ - Add new packages with: Purpose, Key files, Key types/classes
41
+ - Update existing packages if API changes
42
+ - Remove deprecated packages
43
+ - Format: `### @agent-smith/<name> — <short description>` followed by bullet points
44
+
45
+ #### 5. Server
46
+ - Update route table with new/changed routes
47
+ - Add new handler files
48
+ - Update patterns if confirmation/async flow changes
49
+
50
+ #### 6. Plugins
51
+ - Add new plugins to the table
52
+ - Update plugin categories if reorganized
53
+ - Keep format: `| Plugin | Category | Purpose | Key File(s) |`
54
+
55
+ #### 7. UI
56
+ - Update component/service tables
57
+ - Add new themes, apps, or extensions
58
+ - Note any architectural changes (Vue version, PrimeVue updates)
59
+
60
+ #### 8. Apps
61
+ - Document new apps added to the dashboard
62
+ - Update existing app descriptions if functionality changes
63
+
64
+ #### 9. Code Snippets
65
+ - Add new patterns for new APIs or features
66
+ - Update existing snippets if API signatures change
67
+ - Keep language-appropriate examples (YAML, JS, TS)
68
+
69
+ #### 10. Navigation Quick Reference
70
+ - Add new task→path mappings
71
+ - Update paths if files moved
72
+ - Keep the `| Task | Go To |` table format
73
+
74
+ #### 11. Documentation Links
75
+ - Add new documentation resources
76
+ - Remove links to deleted docs
77
+ - Verify all paths still exist
78
+
79
+ #### 12. Key Conventions & Patterns
80
+ - Add new conventions discovered in the codebase
81
+ - Update existing conventions if they change
82
+ - Keep the `| Convention | Detail |` table format
83
+
84
+ 4. **Cross-reference check** — Ensure no content duplication:
85
+ - Project description, architecture patterns, quick references, and code snippets live ONLY in `project-nav.md`
86
+ - Per-module technical details (entry points, key files, dependencies) live in `codebase-summary.md`
87
+ - No redundancy between files
88
+
89
+ 5. **Write the updated file** — Preserve the header note: `> **Purpose**: Single-reference map for AI coding agents...`
90
+
91
+ ## Rules
92
+
93
+ - **Information-dense**: Use tables, bullets, one-line descriptions
94
+ - **No redundancy**: Each piece of information lives in exactly one file
95
+ - **Preserve format**: Do not change section structure or table formats
96
+ - **Canonical source**: `project-nav.md` is the single source of truth for project overview, architecture, and navigation
97
+ - **Language-agnostic**: Adapt to the project's language and ecosystem
@@ -0,0 +1,103 @@
1
+ ---
2
+ name: use-tasks
3
+ description: reference guide for the task skills ecosystem — explains how tasks work and which skill to use
4
+ ---
5
+
6
+ # Task Skills Reference Guide
7
+
8
+ This skill provides an overview of the task system. Use it to understand which skill to load for your specific need.
9
+
10
+ ## Task Skills Ecosystem
11
+
12
+ ### Creation Skills
13
+ | Skill | Purpose | When to Use |
14
+ |-------|---------|-------------|
15
+ | `create-task` | **Entry point** — Analyzes request, chooses mode, delegates | User asks to create a new task |
16
+ | `task-mode` | **Mode selector** — Checklist to decide solo vs team | Need to determine execution mode |
17
+ | `create-task-solo` | Creates task for single-agent execution | Task needs unified context (reading/analyzing data) |
18
+ | `create-task-team` | Creates task for multi-agent execution | Task has independent phases needing different expertise |
19
+
20
+ ### Execution Skills
21
+ | Skill | Purpose | When to Use |
22
+ |-------|---------|-------------|
23
+ | `execute-task-solo` | Execute a solo task (single agent runs all phases) | Running a task created with `create-task-solo` |
24
+ | `execute-task-team` | Execute a team task (coordinator delegates to executors) | Coordinator running a task created with `create-task-team` |
25
+ | `execute-task-phase` | Behavioral contract for executor agents | Executor agent running an assigned phase |
26
+
27
+ ## Workflows
28
+
29
+ **Solo Task Workflow:**
30
+ ```
31
+ create-task → task-mode → create-task-solo → execute-task-solo
32
+ ```
33
+
34
+ **Team Task Workflow:**
35
+ ```
36
+ create-task → task-mode → create-task-team → execute-task-team → execute-task-phase (executors)
37
+ ```
38
+
39
+ ## Task Location
40
+
41
+ Tasks are stored in:
42
+ - `.agents/tasks/[task-name]/` — Main project tasks
43
+ - `[project-name].agents/tasks/[task-name]/` — Project-specific tasks
44
+
45
+ ## Task Directory Structure
46
+
47
+ ### Solo Task
48
+ ```
49
+ [task-name]/
50
+ ├── goals.md # Goals and success criteria
51
+ ├── plan.md # Full execution plan with all phases
52
+ ├── state.md # Progress tracking
53
+ └── notes.md # Optional: additional context/notes
54
+ ```
55
+
56
+ ### Team Task
57
+ ```
58
+ [task-name]/
59
+ ├── goals.md # Goals and success criteria
60
+ ├── plan.md # Full execution plan (reference)
61
+ ├── state.md # Progress tracking
62
+ ├── coordinator-instructions.md # Orchestration instructions
63
+ └── phases/
64
+ ├── phase-1.md # Individual phase files
65
+ └── phase-2.md
66
+ ```
67
+
68
+ ## Quick Reference: Which Skill to Load?
69
+
70
+ | Your Goal | Load This Skill |
71
+ |-----------|-----------------|
72
+ | Create a new task | `create-task` |
73
+ | Decide solo vs team mode | `task-mode` |
74
+ | Execute a solo task | `execute-task-solo` |
75
+ | Execute a team task (as coordinator) | `execute-task-team` |
76
+ | Execute an assigned phase (as executor) | `execute-task-phase` |
77
+ | Understand task structure | This skill (`use-tasks`) |
78
+
79
+ ## Task Lifecycle
80
+
81
+ ### 1. Create a Task
82
+ - Check if `.agents/tasks/[task-name]/` exists; create if not
83
+ - Task files should contain: name/description, goals, phase-by-phase plan with execution steps and success criteria, status tracking
84
+ - Report to user before executing
85
+
86
+ ### 2. Execute a Task
87
+ - Read `state.md` to check progress
88
+ - Execute phases one by one (never skip ahead)
89
+ - Verify success criteria after each step
90
+ - Update `state.md` after each completed phase
91
+
92
+ ### 3. After Completion
93
+ - Ask user if everything is satisfactory
94
+ - Only delete task directory if user confirms
95
+ - If incomplete: update `state.md` with what was done and what remains
96
+
97
+ ## Important Rules
98
+
99
+ - Always execute steps one by one — never skip ahead
100
+ - Verify success criteria after each step before proceeding
101
+ - Update `state.md` after each completed step
102
+ - Do not re-verify previously completed steps (check `state.md` first)
103
+ - Ask user for confirmation before deleting task directory
@@ -0,0 +1,9 @@
1
+ tool:
2
+ description: use this to only retrieve raw data in the Agent Smith config features database for agent, action, skill, command, adaptater, workflow config
3
+ arguments:
4
+ prompt:
5
+ description: the question to ask about the data
6
+ steps:
7
+ - adaptater: agent-smith-db-getschema
8
+ - agent: agent-smith-sql
9
+ - action: db-execute-read-query
@@ -0,0 +1,9 @@
1
+ tool:
2
+ description: and agent to retrieve configuration data in the Agent Smith config database
3
+ arguments:
4
+ prompt:
5
+ description: the question to ask about the data
6
+ steps:
7
+ - adaptater: agent-smith-db-getschema
8
+ - agent: agent-smith-sql
9
+ - action: db-execute-read-query
@@ -0,0 +1,3 @@
1
+ steps:
2
+ - adaptater: prequery
3
+ - agent: infer
@@ -0,0 +1,3 @@
1
+ steps:
2
+ - action: imgs2base64
3
+ - task: infer
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@agent-smith/feat-agents",
3
+ "version": "0.0.1",
4
+ "description": "AI agents for Agent Smith",
5
+ "repository": "https://github.com/lynxai-team/agent-smith-plugins",
6
+ "type": "module",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "publishConfig": {
11
+ "access": "public",
12
+ "registry": "https://registry.npmjs.org/"
13
+ },
14
+ "license": "MIT"
15
+ }