Create an example asset
create_asset · Built-in action recipeWrite a small text file to the given path and register it as an Input asset, to try out actions and assets on a cluster.
If you've connected Ellf to your coding assistant, it can set up the action for you: it knows the recipe's settings, can create the datasets and assets it needs and will ask you about anything it can't work out itself.
✳︎Claude Code: Setting up an action
› Set up an Ellf action using the Create an example asset recipe (create_asset) and help me choose the right settings for my data.- In the app, go to ActionsNew action.
- Select the Create an example asset recipe.
- Fill in the form – you'll need to provide Asset name and Path. Everything else has sensible defaults.
- Create the action. It starts on your cluster straight away.
Create the action with ellf actions create and the recipe name. All settings from the form are available as arguments. To view all recipe arguments, run ellf actions create create_asset --help.
| Argument | Type | Description | Default |
|---|---|---|---|
--name | str | Name of the action | None |
--asset-name | str | Asset name | |
--path | str | Path: Cluster path to write the file to, e.g. {__nfs__}/examples/hello.txt. | |
--project-id | str | Project ID to add action to. Defaults to your saved project. | None |
--worker-class | str | Worker class to launch the action on, as configured on your cluster | None |