简介
自动化 LDS 教会网站登录与会籍管理,支持 OAuth 流程、会话复用及 LCR 核心功能访问,适合教会领袖高效处理教务。
原始描述
Automate tasks on churchofjesuschrist.org and LCR (Leader & Clerk Resources). Use when logging into LDS church accounts, looking up ward/stake rosters, manag...
通过你的 Agent 添加
安装目录:church-account/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: church-account description: Automate tasks on churchofjesuschrist.org and LCR (Leader & Clerk Resources). Use when logging into LDS church accounts, looking up ward/stake rosters, managing callings, viewing temple recommend status, accessing the member directory, or any other LCR/church website automation. Covers OAuth login flow, session management, and key church service URLs.
Church Account (LDS/LCR)
Automate login and tasks on churchofjesuschrist.org.
Login
OAuth Flow
The church uses OAuth via id.churchofjesuschrist.org. Any protected page redirects to login:
- Enter username → click Next
- Enter password → click Verify
- Redirects back to target page with session cookies
No MFA or CAPTCHA is typically required. Playwright + playwright-stealth handles it cleanly.
Credentials
Store in a password vault or environment variables:
- Username (church account email or membership ID)
- Password
Login with Playwright
import asyncio
from playwright.async_api import async_playwright
from playwright_stealth import Stealth
async def login(target_url="https://lcr.churchofjesuschrist.org", cookies_path="/tmp/church_cookies.json"):
async with async_playwright() as p:
browser = await p.chromium.launch(
headless=True,
args=["--no-sandbox", "--disable-blink-features=AutomationControlled", "--disable-dev-shm-usage"]
)
context = await browser.new_context(
viewport={"width": 1920, "height": 1080},
user_agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 ..."
)
page = await context.new_page()
await Stealth().apply_stealth_async(page)
await page.goto(target_url)
# Enter username
await page.fill('input[name="identifier"]', USERNAME)
await page.click('button[type="submit"]')
# Enter password
await page.wait_for_selector('input[type="password"]')
await page.fill('input[type="password"]', PASSWORD)
await page.click('button[type="submit"]')
# Wait for redirect
await page.wait_for_url(f"{target_url}/**", timeout=30000)
# Save session
await context.storage_state(path=cookies_path.replace('.json', '_state.json'))
await browser.close()
Reusing a Session
After login, use saved storage state to skip re-authentication:
context = await browser.new_context(
storage_state="/tmp/church_cookies_state.json",
viewport={"width": 1920, "height": 1080},
user_agent="Mozilla/5.0 ..."
)
page = await context.new_page()
await Stealth().apply_stealth_async(page)
Key URLs
| Service | URL |
|---|---|
| LCR (Leader & Clerk Resources) | https://lcr.churchofjesuschrist.org |
| Ward Directory | https://directory.churchofjesuschrist.org |
| Calendar | https://www.churchofjesuschrist.org/calendar |
| Donations | https://donations.churchofjesuschrist.org |
| Temple Reservations | https://tos.churchofjesuschrist.org |
| My Home | https://www.churchofjesuschrist.org/my-home |
| Account Settings | https://id.churchofjesuschrist.org/account |
LCR Sections
After login, LCR provides access to:
- Membership — member records, move-in/out, new members
- Callings — current callings, sustaining, setting apart
- Ministering & Welfare — assignments, needs
- Finance — tithing settlement, budget, donations
- Missionary — full-time and ward missionaries
- Temple — recommend status, temple activity
- Reports — attendance, quarterly reports
Tips
- Login sessions persist via cookies — no need to re-login every request
- Headless Chrome with playwright-stealth avoids detection
- Storage state files contain auth tokens — treat as sensitive
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。