Examples
web-action on news.ycombinator.comFrom its SKILL.md
npx -y skills add kuilenren/flowreplay --skill exampleAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 21 days oldThe repository was created 21 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.3 KB, 606 tokens by cl100k_base, as published. Nobody here has run it
Search Hacker News
Search Hacker News for a term and open the search results. {{query}} is filled
in at replay time — record once, replay for any term.
Parameters
{{query}}— Search term · required
Steps
- Open https://news.ycombinator.com
- Click «Search» (the footer search link)
- Fill «Search stories…» with {{query}}
- Press Enter
flow (machine-readable, for replay import)
{
"name": "Search Hacker News",
"description": "web-action on news.ycombinator.com",
"start_url": "https://news.ycombinator.com",
"variables": [
{ "name": "query", "label": "Search term", "required": true }
],
"steps": [
{
"action_type": "navigate",
"description": "Open https://news.ycombinator.com",
"locators": [],
"value_template": null,
"url_template": "https://news.ycombinator.com",
"options": { "wait_until": "domcontentloaded" },
"viewport": { "width": 1280, "height": 800 }
},
{
"action_type": "click",
"description": "Click Search",
"locators": [
{ "kind": "role", "value": "link", "name": "Search" },
{ "kind": "text", "value": "Search" },
{ "kind": "coordinate", "x": 360, "y": 620 }
],
"value_template": null,
"url_template": null,
"options": {},
"viewport": { "width": 1280, "height": 800 }
},
{
"action_type": "fill",
"description": "Fill Search stories",
"locators": [
{ "kind": "css", "value": "input[name=\"q\"]" },
{ "kind": "role", "value": "textbox", "name": "Search stories…" },
{ "kind": "coordinate", "x": 480, "y": 60 }
],
"value_template": "{{query}}",
"url_template": null,
"options": { "field_type": "text" },
"viewport": { "width": 1280, "height": 800 }
},
{
"action_type": "press_keys",
"description": "Press Enter",
"locators": [],
"value_template": null,
"url_template": null,
"options": { "keys": ["Enter"] },
"viewport": { "width": 1280, "height": 800 }
}
]
}