What I do
Matches the current page URL against a credentials file and performs login using the corresponding username and password.
Credentials are defined in credentials.yml located alongside this skill.
credentials.yml structure
credentials:
- name: <identifier> # Referenced by sites
username: <login user>
password: <login password>
sites:
- name: <display name>
url: <URL pattern to match>
credentials: [<credential name>, ...] # Available credentials for this site
note: <optional login instructions>
- Match the current page URL against
sites[].url - Use the first credential listed in
sites[].credentialsunless otherwise specified - Follow
noteif present (e.g. tab selection)
When to use me
Use when a login screen is displayed and the current URL matches an entry in the credentials file.
Important Instructions
Before proceeding with form input, always ensure the correct page is selected:
- Use
chrome-list_pagesto verify available pages - Use
chrome-select_pagewith the appropriate page ID to ensure the correct page is active - Only after confirming the correct page is selected, proceed with form input operations
Login procedure:
- Match the current page URL against
urlpatterns incredentials.yml - If a match is found, use the corresponding
usernameandpasswordto log in - If the page has multiple login tabs (e.g. "Individual Account" / "Shop Account"), follow the
notefield if present