deathcats4/instsci-workflow/instsci

Claude Code and agent skill by deathcats4/instsci-workflow

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when working with the InstSci project, publisher PDF retrieval, closed-access article verification, DOI batch downloads, CloakBrowser evidence, CARSI, Shibboleth, OpenAthens, WebVPN, publisher capability matrices, or InstSci CLI workflows.

Install

npx vskill@latest install deathcats4/instsci-workflow/instsci

SKILL.md

instsci

Core Rule

Use this self-contained skill as the project entry point for normal InstSci CLI work. A source checkout is required only for development tasks.

Startup

  1. For normal CLI use, work from the user's research project or chosen output directory; do not require an InstSci source checkout.
  2. For code changes, locate the checkout containing AGENTS.md and pyproject.toml, work from that root, and read AGENTS.md first. When a checkout is already present during publisher work, also treat its AGENTS.md and instsci/data/*.json as authoritative.
  3. For continuation, recall, migration, or "previous task" questions, use the chatmem skill/MCP first when it is available. Treat indexed history as evidence, not approved startup rules.
  4. For publisher PDF, closed-access, institution-login, or capability-matrix tasks, also read instsci/data/institutional_identity_policy.json or run:
powershell
instsci identity-policy

MCP Coordination

When InstSci MCP tools are available, use them as the structured context bridge before reading raw JSON files by hand:

  • get_institutional_identity_policy: load route-selection policy before closed-access planning.
  • get_publisher_access_catalog: inspect publisher route templates, login hints, persistence stores, and HTTP preflight limits.
  • get_publisher_capability_summary: inspect the public route-planning summary; it contains no browser or entitlement verdicts.
  • plan_publisher_pdf_workflow: build the correct visible CLI command and identify whether a subscription institution is still required.

Use MCP search_papers, get_paper_metadata, and fetch_paper for metadata, Open Access lookup, DOI resolution, or non-final retrieval attempts. For publisher PDF downloads, closed-access verification, capability matrices, or final support verdicts, MCP is planning/context only; the actual evidence must come from the visible CloakBrowser workflow started by instsci papers, instsci publisher-batch, PublisherBatchDownloader, or ACSCloakBatchDownloader.

If MCP output and repository files disagree, treat AGENTS.md plus instsci/data/*.json as the source of truth and mention the mismatch.

Evidence Standard

Final publisher PDF verdicts require the visible built-in CloakBrowser workflow. curl, requests, DOI resolution, publisher-doctor, route construction, logs, DOM state, URLs, and cookie exports are HTTP preflight only.

Accepted browser-backed routes include:

powershell
instsci papers dois.txt --publisher auto --institution "Institution Name" --output .\runs\papers
instsci publisher-batch dois.txt --publisher acs --institution "Institution Name" --output .\runs\acs

Code-level work may use PublisherBatchDownloader, ACSCloakBatchDownloader, or the same visible built-in browser context.

Publisher Routing / WAF Loop Preflight

When a publisher page repeatedly returns to a robot check, CAPTCHA, Cloudflare, Turnstile, or other verification page after the user completes the visible challenge, treat it first as a routing/session/WAF-loop diagnostic, not as a signal to keep clicking or to bypass verification.

Safety comes first:

  • Never automate, bypass, farm out, or guess CAPTCHA, OTP, password, SSO, or

human-verification steps.

  • Do not promise that routing changes will solve publisher checks. They are a

diagnostic path only.

  • Stop batch retries when verification loops. Record waf_blocked or

human_verification_required as appropriate, then inspect routing before retrying a small single-DOI run.

Use this decision chain:

text
Repeated verification loop
-> stop batch retries
-> verify CLI path/version
-> capture browser-doctor state
-> inspect sanitized proxy/connector presence
-> compare article/login/PDF asset route consistency
-> retry one DOI with --mode diagnose
-> if loop persists, record waf_blocked and stop

Before continuing a looped publisher run, ask the user or run locally:

powershell
Get-Command instsci -All
where.exe instsci
python -c "import instsci; print(instsci.__version__); print(instsci.__file__)"
instsci browser-doctor `
--publisher publisher-name `
--output .\runs\waf_diagnostic
Get-ChildItem Env: |
Where-Object { $_.Name -match '^(HTTP|HTTPS|ALL|NO)_PROXY$' } |
Select-Object Name, @{
Name = 'Configured'
Expression = { -not [string]::IsNullOrWhiteSpace($_.Value) }
}

Do not print, paste, log, or commit full proxy URLs, .codex/env contents, connector URLs, cookies, tokens, or institution-private route details. Report only whether a route is configured and, when needed, a redacted scheme/host/port with userinfo, query parameters, and tokens removed. instsci config-cmd --show may expose a connector URL in current releases; if used, inspect it locally and redact before sharing.

Check whether .codex/env, shell environment variables, system proxy settings, rule-mode VPNs, or local proxy ports are sending publisher traffic through the wrong exit. Do not treat generic Clash/V2Ray-style proxies such as 127.0.0.1:7897 as an InstSci campus connector. --connector-url is for an institution-supported connector route, not a generic proxy shortcut.

For any publisher, keep the article domain, institution-login domain, and PDF asset domain on the intended legal access route when possible. A regular browser, CloakBrowser, API request, institution SSO page, and signed PDF asset may not all follow the same proxy rules. If their exit IP or browser state differs, WAF challenges, institution sessions, or page-generated PDF tokens can loop or expire.

For Elsevier / ScienceDirect specifically, route consistency often involves:

  • api.elsevier.com
  • www.sciencedirect.com
  • auth.elsevier.com
  • pdf.sciencedirectassets.com
  • *.elsevier.com

Direct-first protects the Elsevier API route only. If a workflow falls back to the visible ScienceDirect browser route, Codex/global proxy settings can still affect the browser or publisher session unless the user's network rules route those domains through the intended campus, library, institutional VPN, or other lawful access path.

After inspecting routing, retry only one DOI first:

powershell
instsci papers .\one_doi.txt `
--publisher publisher-name `
--mode diagnose `
--watch-browser focus `
--output .\runs\single_doi_diagnose

Chinese Literature Portals

Treat Chinese literature databases as visible-browser portal workflows, not as ordinary direct PDF URLs. Inspect support with:

powershell
instsci chinese-literature-sites

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
91
Repository forks
8
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/deathcats4/instsci-workflow/instsci/badge)](https://verified-skill.com/skills/deathcats4/instsci-workflow/instsci)

Something wrong with this skill or its page? Tell us.