voiden-scripting

Add JavaScript, Python, or Shell scripts to API requests for pre-request and post-response logic.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/VoidenHQ/core-plugins --skill voiden-scripting
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: voiden-scripting
Source: https://github.com/VoidenHQ/core-plugins/tree/main/src/voiden-scripting
Command: npx skills add https://github.com/VoidenHQ/core-plugins --skill voiden-scripting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires vd-api, and includes scripts (resource) components.

What problem does it solve?

This Skill allows users to add pre-request and post-response scripts to their API requests, enhancing the ability to customize and automate API interactions.

Core Features & Use Cases

  • Pre-request Scripting: Modify request data, set headers, or cancel requests before they are sent.
  • Post-response Scripting: Process and log data after receiving a response, extract information, or perform assertions.
  • Languages Supported: JavaScript, Python, and Shell (bash).
  • Use Case: You can use this Skill to log the URL and method of a request before sending it, then log the status code and body of the response after receiving it.

Quick Start

Insert a pre-request script by using the /pre-script slash command.

Frequently Asked Questions about voiden-scripting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add pre-request and post-response scripts to API requests?▼

You can add pre-request and post-response scripts to API requests using the /pre-script slash command, enabling customization and automation for your API interactions.

What languages can I use for API automation pre-scripts and post-scripts?▼

API automation scripts support JavaScript, Python, and Shell (bash), allowing you to modify request data, set headers, process responses, and perform assertions.

How do I log API request and response data automatically?▼

To log API request and response data automatically, use post-response scripting to extract the status code and body, and pre-request scripts to log the URL and method before sending.

Do I need the vd API to run pre-request scripts on my API requests?▼

Yes, you need the vd API dependency to run pre-request scripts, as it provides the necessary access to request and response information for your custom logic.

Can I cancel API requests or modify headers before they are sent?▼

Yes, you can cancel API requests or modify headers before they are sent by implementing pre-request scripting logic to alter request data based on specific conditions.

What is the best way to perform assertions on API responses?▼

The best way to perform assertions on API responses is using post-response scripting, which allows you to process received data, extract information, and validate response status codes directly.