@adminforth/agent 1.30.0 → 1.31.0
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.
package/build.log
CHANGED
|
@@ -40,5 +40,5 @@ custom/skills/fetch_data/SKILL.md
|
|
|
40
40
|
custom/skills/mutate_data/
|
|
41
41
|
custom/skills/mutate_data/SKILL.md
|
|
42
42
|
|
|
43
|
-
sent 208,
|
|
44
|
-
total size is 206,
|
|
43
|
+
sent 208,782 bytes received 585 bytes 418,734.00 bytes/sec
|
|
44
|
+
total size is 206,372 speedup is 0.99
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
name: analyze_data
|
|
2
|
-
description:
|
|
2
|
+
description: Universal skill to analyze AdminForth resource data, summarize trends, and compare distributions from fetched rows.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# Involved tools
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Always call `get_resource` first if you need to inspect resource structure and column names.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Then you need to select between two main tools for fetching data:
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
- Load and call `aggregate` tool to fetch data for analytics. This is the main tool for fast server-side aggregations, including filtered data, grouped metrics, and date buckets such as day, week, or month. Always prioritize this way of fetching data for analytics, as it is optimized for performance and reduces the amount of data transferred and processed in-memory.
|
|
12
|
+
|
|
13
|
+
- Load and call `get_resource_data` tool only when the requested analysis cannot be answered with `aggregate`. This is heavier because it returns original rows with all fields, but it allows complex calculations, comparisons, and custom groupings in-memory.
|
|
12
14
|
|
|
13
15
|
# Instructions
|
|
14
16
|
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
name: analyze_data
|
|
2
|
-
description:
|
|
2
|
+
description: Universal skill to analyze AdminForth resource data, summarize trends, and compare distributions from fetched rows.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# Involved tools
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Always call `get_resource` first if you need to inspect resource structure and column names.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Then you need to select between two main tools for fetching data:
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
- Load and call `aggregate` tool to fetch data for analytics. This is the main tool for fast server-side aggregations, including filtered data, grouped metrics, and date buckets such as day, week, or month. Always prioritize this way of fetching data for analytics, as it is optimized for performance and reduces the amount of data transferred and processed in-memory.
|
|
12
|
+
|
|
13
|
+
- Load and call `get_resource_data` tool only when the requested analysis cannot be answered with `aggregate`. This is heavier because it returns original rows with all fields, but it allows complex calculations, comparisons, and custom groupings in-memory.
|
|
12
14
|
|
|
13
15
|
# Instructions
|
|
14
16
|
|