Auth Login
Developmentauth-loginAuth Login is an Agent Skill for development published in the fossasia/visdom repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Modify login/authentication paths safely for browser and Python client flows
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/fossasia/visdom/blob/HEAD/.agents/skills/auth-login/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/auth-login, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Skill: Authentication and Login
When to Use
Use this skill when changing login screens, auth checks, cookie handling, or credential plumbing.
Core Workflow
- Keep server auth gate logic consistent with
check_auth. - Preserve cookie-based session flow in Tornado handlers.
- Maintain Python client authentication behavior (
Visdom(..., username=..., password=...)). - Keep credential hashing and verification flow aligned between browser and server.
- Keep cookie secret management in
env_pathstable.
Guardrails
- Never weaken auth checks on handler methods.
- Never commit or hardcode credentials/cookie secrets.
- Treat auth changes as cross-cutting: server handlers, sockets, and client login must all remain compatible.
Documentation
- Skill reference
py/visdom/server/handlers/base_handlers.pypy/visdom/server/handlers/web_handlers.pypy/visdom/server/app.pypy/visdom/__init__.pyAGENTS.mdCONTRIBUTING.md
Assets
- See
assets/README.mdand store templates/resources inassets/.
Tests
- Follow the default flow in
references/TESTS.md.