Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Processes arrays of objects by filtering, mapping, aggregating, sorting, grouping, deduplicating, and merging records.
48% 100%+52 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 11 of 23 without it.
3 of 3 safety checks passed
36 agent runs
A general-purpose data processing skill for transforming arrays of objects. This skill demonstrates the token efficiency benefits of code execution - instead of describing transformations in natural language, write code once and reuse it.
Processes arrays of data with common transformations:
Use this skill when you need to:
Token Efficiency: Processing 1000 records in code uses ~500 tokens. Describing the same operations in natural language would use ~50,000 tokens.
/**
* Data Processor - General purpose data transformation
* @param {Array} data - Array of objects to process
* @param {Object} operations - Operations to apply
* @returns {Object} Processed data and statistics
*/
async function processData(data, operations = {}) {
if (!Array.isArray(data)) {
throw new Error('Data must be an array');
}
let result = [...data];
Next to this one in the catalogue, plus more from the same author.