write-script-nativets

Create and execute native TypeScript scripts with fetch for Orvanta automation.

Updated May 28, 2026
One-click install
npx skills add https://github.com/Orvanta-Cloud/orvanta-cli-docs --skill write-script-nativets-orvanta-cloud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-script-nativets
Source: https://github.com/Orvanta-Cloud/orvanta-cli-docs/tree/main/skills/write-script-nativets
Command: npx skills add https://github.com/Orvanta-Cloud/orvanta-cli-docs --skill write-script-nativets-orvanta-cloud

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill unit provides the foundation and guidelines for developing and managing native TypeScript scripts within the Orvanta ecosystem, enabling users to effectively utilize TypeScript for their automation needs.

Core Features & Use Cases

  • TypeScript Support: Focuses on TypeScript specifically for Orvanta automation, ensuring the script runs natively with fetch and without external imports.
  • Resource Utilization: Demonstrates how to interact with resources for credential and configuration needs in Orvanta, enhancing script capabilities.
  • Structure & Syntax: Details the required structure and syntax for scripts, including export of an async function called main.
  • Use Case: A developer aims to write a TypeScript script that performs an API call using fetch. This Skill unit will guide them on how to create and deploy the script using the Orvanta environment.

Quick Start

Initialize a new script and use the command: 'orvanta script new u/me/your_script_path'.

Frequently Asked Questions about write-script-nativets

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

FAQPage Schema
How do I run native TypeScript scripts for automation without installing external libraries?

Native TypeScript scripts can run without external libraries by using the Orvanta execution environment, which provides built-in fetch capabilities for API calls. You write an async main function, and the environment handles execution natively.

What is the required structure for a TypeScript script to execute natively in Orvanta?

The required structure for a native TypeScript script in Orvanta is exporting an async function named main. This function serves as the entry point, allowing the script to interact with Orvanta resources and perform fetch operations directly.

How do I make API calls from a TypeScript automation script in Orvanta?

You make API calls from a TypeScript automation script in Orvanta by using the native fetch capability. The execution environment supports fetch directly, enabling HTTP requests without importing external dependencies.

Can I manage credentials and configurations within my TypeScript automation scripts?

Yes, you can manage credentials and configurations within TypeScript automation scripts by interacting with Orvanta resources. The environment facilitates accessing these resources natively, enhancing script capabilities for secure API calls.

Does Orvanta support native execution for TypeScript scripts without external dependencies?

Orvanta supports native execution for TypeScript scripts without external dependencies. The environment includes built-in execution and fetch capabilities, allowing direct API calls and in-app processes entirely within the Orvanta ecosystem.

What is the best way to initialize a new TypeScript script for Orvanta automation?

The best way to initialize a new TypeScript script for Orvanta automation is using the command orvanta script new followed by your desired script path. This sets up the required structure for native execution.