> ## Documentation Index
> Fetch the complete documentation index at: https://stelis.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Skills

> Leveraging pre-built and custom skills in Stelis

Skills in Stelis are pre-built or custom automation workflows that can be easily reused across different tasks. They encapsulate common operations and can significantly speed up your automation processes.

## Pre-built Skills

Stelis offers a variety of pre-built skills for common tasks:

* **Form Filling**: Automatically fill out web forms with provided data
* **Data Extraction**: Extract structured data from web pages
* **Screenshot Capture**: Take screenshots of specified elements or entire pages
* **Navigation**: Complex navigation patterns across multiple pages
* **Authentication**: Handle login processes for various platforms

To use a pre-built skill:

```javascript theme={null}
const result = await stelis.useSkill('formFilling', {
  url: 'https://example.com/form',
  data: {
    name: 'John Doe',
    email: 'john@example.com',
    // ... other form fields
  }
});
```

## Custom Skills

You can create custom skills to encapsulate your own frequently used workflows:

1. Define your skill in a JavaScript file:

```javascript theme={null}
// myCustomSkill.js
module.exports = async function(stelis, params) {
  // Your custom automation logic here
  const result = await stelis.browse({
    prompt: params.prompt,
    url: params.url
  });
  
  // Process the result as needed
  return processedResult;
};
```

2. Register your skill with Stelis:

```javascript theme={null}
stelis.registerSkill('myCustomSkill', require('./myCustomSkill.js'));
```

3. Use your custom skill:

```javascript theme={null}
const result = await stelis.useSkill('myCustomSkill', {
  prompt: 'Perform my custom task',
  url: 'https://example.com'
});
```

## Best Practices

* Use skills to standardize common operations across your organization
* Regularly update custom skills to incorporate new features and improvements
* Document your custom skills thoroughly for easier maintenance and collaboration

For more information on creating and using skills, check our [API Reference](/api-reference/autonomous-api#skills).
