Skip to content
Back to skills

Recipes

ASecurity

_Modify an existing skill._

  • 2 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added September 8, 2026
documentationpythongoc++bashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add Toloka/docs --skill recipes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recipes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Recipes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/toloka-recipes-1e6c01bd/badge)](https://www.skillsdirectory.com/skills/toloka-recipes-1e6c01bd)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Edit skill

_Modify an existing skill._

## Steps to follow

{% include [import](../_includes/recipes/import.md) %}

{% include [instantiate](../_includes/recipes/instantiate.md) %}

### 3. Get skill {#step-three}

[Find out](get-skills.md) the ID of the skill which you want to modify. Then create a local copy of the project object calling the `get_skill()` method.

```python
skill = toloka_client.[get_skill](*get_skill)('11294')
```

{% note alert "Important" %}

All the code manipulations at steps 3–4 occur in your device memory. The data will only be sent to the server after calling the `update_skill()` method at [step 5](#step-five).

{% endnote %}

### 4. Set skill new private comment {#step-four}

Specify a new private comment for the skill. You can choose to change some other skill data. Refer to the [Skill](../reference/toloka.client.skill.Skill.md) class to see what other attributes it has.

```python
skill.private_comment = 'Got at least 5 right responses on control tasks with C++ or Python'
```

### 5. Modify skill on platform {#step-five}

This actually updates the project data in Toloka.

```python
updated_skill = toloka_client.[update_skill](*update_skill)(skill.id, skill)
```

### 6. Display modifications {#step-six}

The `update_skill()` request will return the [Skill](../reference/toloka.client.skill.Skill.md) class object. You can use its attributes to print the information you need.

```python
print(updated_skill.id, updated_skill.private_comment)
```

You should get an output with the updated skill private comment which looks like this.

```bash
12648 Got at least 5 right responses on control tasks with C++ or Python
```

## Complete code: Edit skill {#complete-code}

```python
import toloka.client as toloka

toloka_client = toloka.TolokaClient('PlaceYourRealApiKey_Here', 'PRODUCTION')

skill = toloka_client.get_skill('11294')
skill.private_comment = 'Got at least 5 right responses on control tasks with C++ or Python'

updated_skill = toloka_client.update_skill(skill.id, skill)
print(updated_skill.id, updated_skill.private_comment)
```

{% note tip "List of classes and methods used in this recipe" %}

- _[TolokaClient](../reference/toloka.client.TolokaClient.md) class_
- _[get_skill()](../reference/toloka.client.TolokaClient.get_skill.md) method_
- _[update_skill()](../reference/toloka.client.TolokaClient.update_skill.md) method_

{% endnote %}

## See also {#see-also}

- [{#T}](../../guide/concepts/overview.md)
- [{#T}](learn-basics.md)
- [{#T}](use-cases.md)
- [{#T}](get-skills.md)
- [Toloka-Kit: Skill class](../reference/toloka.client.skill.Skill.md)
- [Toloka API: Update skill](https://toloka.ai/docs/api/api-reference/#put-/skills/-id-)

[*TolokaClient]: [TolokaClient](../reference/toloka.client.TolokaClient.md) class
[*get_skill]: [get_skill()](../reference/toloka.client.TolokaClient.get_skill.md) method
[*update_skill]: [update_skill()](../reference/toloka.client.TolokaClient.update_skill.md) method

Files in this skill

  • accept-responses.md2.3 KB
  • aggregate-responses.md4.3 KB
  • archive-pool.md1.8 KB
  • archive-project.md1.9 KB
  • assign-reward.md2.7 KB
  • assign-skill.md2.4 KB
  • ban-tolokers.md5.7 KB
  • change-pool-priority.md1.9 KB
  • change-task-overlap.md1.9 KB
  • clone-pool.md1.7 KB
  • close-pool.md1.7 KB
  • create-pool.md3.5 KB
  • create-project.md6.4 KB
  • create-skill.md2.3 KB
  • create-task-suite.md3.5 KB
  • delete-restriction.md1.6 KB
  • delete-user-skill.md1.6 KB
  • download-attachment.md1.8 KB
  • edit-project.md2.9 KB
  • edit-skill.md2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.