instagram-post-comments — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited instagram-post-comments (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
post shortcode or media ID → paginated list of comments
All process output to user (progress updates, process notifications) follows the user's language.
Fetch comments for a specific Instagram post using the internal comments API with cursor-based pagination.
https://www.instagram.com/If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
If login status for Instagram has been confirmed in the current session → skip this step.
Otherwise: open https://www.instagram.com/ and observe the page login status:
User refuses or cannot log in → terminate execution.
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under thescripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.
eval "$(python scripts/get-media-id.py '{shortcode}')"
Parameters:
instagram.com/p/BwrsO1Bho2N/ → BwrsO1Bho2N)Output example:
{
"media_id": "3900557621921709539",
"shortcode": "BwrsO1Bho2N",
"media_type": 1,
"username": "natgeo",
"taken_at": 1779686199
}eval "$(python scripts/get-post-comments.py '{media_id}' --min-id '{cursor}')"
Parameters:
next_min_id from previous response for subsequent pagesOutput example:
{
"comments": [
{
"pk": "17857015000000001",
"text": "Amazing photo!",
"username": "john_doe",
"user_id": "123456789",
"created_at": 1779686500,
"like_count": 42,
"reply_count": 3
}
],
"has_more_comments": true,
"next_min_id": "17857015000000001"
}navigate https://www.instagram.com/ → wait stableeval "$(python scripts/get-media-id.py '{shortcode}')" → extract media_ideval "$(python scripts/get-post-comments.py '{media_id}')" → collect comments, note has_more_comments and next_min_idhas_more_comments is true:a. eval "$(python scripts/get-post-comments.py '{media_id}' --min-id '{next_min_id}')" → accumulate comments
API Pagination: min_id, type: cursor, start value: empty string. Next page value source: next_min_id field in response. Termination: has_more_comments is false or next_min_id is null.
result count >= 1 AND comments[0].text non-null AND comments[0].username non-null
require_login: true without authenticationPath: {working-directory}/browser-act-skill-forge-memories/instagram-scraper-instagram-post-comments.memory.md (working directory is determined by the Agent running the Skill, typically the project root or current working directory)
Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions (e.g., a strategy has become ineffective); adjust strategy order accordingly.
After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line: {YYYY-MM-DD}: {what happened} → {conclusion}
Normal execution does not write to the file. Do not record what keywords were used or how many results were returned — those are task outputs, not experience.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.