一键导入
z-library-account-setup
Create and manage a Z-Library account for the Bianinho agent — registration, email verification via IMAP, and login workflow
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and manage a Z-Library account for the Bianinho agent — registration, email verification via IMAP, and login workflow
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Criar tasks visíveis no painel AionUI Scheduled Tasks — inserir diretamente na SQLite do AionUI
Debug protocol for AionUI macOS DMG white screen crashes — pattern, fixes, bundle analysis, and workflow.
AionUI — plataforma multi-agent cowork (frontend Electron). Arquitectura real, modos de acesso (Xvfb, web viewer, noVNC), e integração com Bianinho/Hermes. NUNCA inventar arquitectura sem verificar primeiro.
Diagnóstico e otimização de performance do MacBook — memória RAM, LaunchAgents, processos, bateria e swap. Workflow completo de 5 ações testado no MacBook Pro M1 Pro 16GB.
Organização de arquivos macOS — estruturar Desktop, Documents, Downloads, criar tarefas cron de limpeza automática.
Persist agent state across crashes, context deaths, and restarts for Hermes agents. Use when you need to save current context, restore after a crash, maintain a memory file across sessions, or implement crash recovery. Essential for autonomous agents that must survive context window limits.
| name | z-library-account-setup |
| description | Create and manage a Z-Library account for the Bianinho agent — registration, email verification via IMAP, and login workflow |
| category | productivity |
| tags | ["z-library","registration","email-verification","imap"] |
ziau riwl ttef fjau (stored in ~/.hermes/email_creds.gpg)https://pt.z-lib.fm/registration
Fill form: email, password, nickname → click "Criar uma conta"
import imaplib, email
from email.header import decode_header
app_password = "ziauriwlttefjua" # no spaces, from GPG
mail = imaplib.IMAP4_SSL("imap.gmail.com")
mail.login("bianinhoclaw@gmail.com", app_password)
mail.select("INBOX")
status, messages = mail.search(None, "ALL")
email_ids = messages[0].split()
for eid in reversed(email_ids):
status, msg_data = mail.fetch(eid, "(RFC822)")
msg = email.message_from_bytes(msg_data[0][1])
if "z-lib" in str(msg).lower():
# Extract code from HTML body
if msg.is_multipart():
for part in msg.walk():
if part.get_content_type() == "text/plain":
body = part.get_payload(decode=True).decode("utf-8", errors="replace")
break
else:
body = msg.get_payload(decode=True).decode("utf-8", errors="replace")
# Find 4-digit code in HTML
import re
match = re.search(r'(\d{4})', body)
if match:
code = match.group(1)
print(f"Code: {code}")
break
mail.logout()
Click "Confirmar e criar uma conta"
⚠️ Browser automation (browser_navigate + browser_click) NÃO funciona para downloads.
O browser do Browserbase intercepta o download mas NÃO salva no disco. O resultado é sempre HTML.
SOLUÇÃO: Usar SEMPRE curl via terminal para baixar.
/dl/<hash> no snapshot (ref=eN)cd ~/Downloads
curl -L -o "<nome_livro>.<ext>" "https://pt.z-lib.fm/dl/<HASH>"
O link /dl/<hash> содержит toda a autenticação necessária — NÃO precisa de cookies explícitos.
file ~/Downloads/<nome_livro>.<ext>
# PDF: "PDF document, version X.Y"
# EPUB: "EPUB document"
# HTML: "HTML document" → ERRO
curl retorna HTML de 51KB com "O limite diário foi esgotado"grep -o "O limite[^<]*" ~/Downloads/<ficheiro>/dl/<hash> → funciona enquanto IP não atingir 10uv pip install pdfplumber no venv do KnowledgeBase9780857197696 = The Psychology of Money (inglês, Harriman House, Morgan Housel)9788595086257 = A psicologia financeira (PT-BR, HarperCollins Brasil, Morgan Housel)bianinhoclaw@gmail.com (not bianinho@gmail.com)ziau riwl ttef fjau — join with no spaces = ziauriwlttefjaugoogle module — use raw imaplib insteadbrowser_navigate first to get fresh refs when page state is uncertaincurl -L -o <ficheiro> "https://pt.z-lib.fm/dl/<HASH>" (o hash do link de download содержит toda a autenticação necessária)pdfplumber não estava no venv do KnowledgeBase → instalar com uv pip install pdfplumbercurl -L -o via terminal com o link /dl/<hash>