github查询注册时间skills
- 内容介绍
- 文章标签
- 相关推荐
始皇今天开启新的注册模式,3年github代查业务或者自查业务,咸鱼佬们通过访问网址查时间经常因为节点问题被限制,那么做一个skills部署openclaw里就可以了,里面有个github token需要改成自己,
匿名请求的 REST API 主限额只有 60 次/小时/每个 IP,带认证后通常是 5000 次/小时/每个用户。GitHub 也建议优先看响应头里的限额信息。
skills代码块
name: github-registration-check
description: Check a GitHub user's registration time via the GitHub Users API. Use when the user asks things like "查注册+用户名", "查 GitHub 注册时间", or wants the created_at timestamp from https://api.github.com/users/<username> converted into Chinese date-time format like "2025年7月11日10时22分56秒注册".
---
# GitHub Registration Check
Use this skill when the user wants a GitHub account's registration time.
## Workflow
1. Extract the GitHub username from the user's request.
2. Prefer authenticated access to `https://api.github.com/users/<username>` instead of anonymous requests.
3. Read the `created_at` field.
4. Convert UTC time like `2025-07-11T10:22:56Z` into the output format `2025年7月11日10时22分56秒注册`.
5. If the user does not ask for timezone conversion, keep the GitHub timestamp's UTC clock value and only reformat it.
6. If the API returns 404, tell the user the username was not found.
## Rate-limit strategy
Core idea: do not keep hitting `https://api.github.com/users/...` anonymously.
- For checking an unfamiliar GitHub account's registration time, `GET /users/{username}` is enough because it already returns `created_at`.
- Anonymous REST API requests are usually limited to **60 requests/hour/IP**.
- Authenticated REST API requests are usually limited to **5000 requests/hour/user**.
- Prefer reading the response limit headers such as `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` instead of repeatedly calling `/rate_limit`.
## Command
Use authenticated HTTP GET when a token is available, for example via environment variable:
```bash
GITHUB_TOKEN='your_token_here' python3 - <<'PY'
import json, os, urllib.request, urllib.parse
username = "torvalds"
url = f"https://api.github.com/users/{urllib.parse.quote(username)}"
headers = {"User-Agent": "curl/8.0"}
if os.environ.get("GITHUB_TOKEN"):
headers["Authorization"] = f"Bearer {os.environ['GITHUB_TOKEN']}"
req = urllib.request.Request(url, headers=headers)
with urllib.request.urlopen(req, timeout=20) as r:
data = json.load(r)
print(data["created_at"])
print(r.headers.get("X-RateLimit-Remaining"))
PY
在此处键入或粘贴代码
直接在发给openclaw,然后发token给他
image532×677 28.6 KBtg查询
image416×134 23.2 KB飞书查询
image315×228 3.62 KB微信查询
image521×127 2.15 KB
理论上可以通过该skills接入闲鱼自动回复,没时间搞,佬们可以自己研究下
网友解答:--【壹】--:
用不着这么费事
https://api.github.com/users/用户名
这就查到了
--【贰】--:
感谢大佬!
--【叁】--: Grey:
闲鱼自动回复
技术是与时俱进的
--【肆】--:
这个查一遍就知道自己号的注册时间了,还要查几次啊
--【伍】--:
查几次就会有ip限制
始皇今天开启新的注册模式,3年github代查业务或者自查业务,咸鱼佬们通过访问网址查时间经常因为节点问题被限制,那么做一个skills部署openclaw里就可以了,里面有个github token需要改成自己,
匿名请求的 REST API 主限额只有 60 次/小时/每个 IP,带认证后通常是 5000 次/小时/每个用户。GitHub 也建议优先看响应头里的限额信息。
skills代码块
name: github-registration-check
description: Check a GitHub user's registration time via the GitHub Users API. Use when the user asks things like "查注册+用户名", "查 GitHub 注册时间", or wants the created_at timestamp from https://api.github.com/users/<username> converted into Chinese date-time format like "2025年7月11日10时22分56秒注册".
---
# GitHub Registration Check
Use this skill when the user wants a GitHub account's registration time.
## Workflow
1. Extract the GitHub username from the user's request.
2. Prefer authenticated access to `https://api.github.com/users/<username>` instead of anonymous requests.
3. Read the `created_at` field.
4. Convert UTC time like `2025-07-11T10:22:56Z` into the output format `2025年7月11日10时22分56秒注册`.
5. If the user does not ask for timezone conversion, keep the GitHub timestamp's UTC clock value and only reformat it.
6. If the API returns 404, tell the user the username was not found.
## Rate-limit strategy
Core idea: do not keep hitting `https://api.github.com/users/...` anonymously.
- For checking an unfamiliar GitHub account's registration time, `GET /users/{username}` is enough because it already returns `created_at`.
- Anonymous REST API requests are usually limited to **60 requests/hour/IP**.
- Authenticated REST API requests are usually limited to **5000 requests/hour/user**.
- Prefer reading the response limit headers such as `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` instead of repeatedly calling `/rate_limit`.
## Command
Use authenticated HTTP GET when a token is available, for example via environment variable:
```bash
GITHUB_TOKEN='your_token_here' python3 - <<'PY'
import json, os, urllib.request, urllib.parse
username = "torvalds"
url = f"https://api.github.com/users/{urllib.parse.quote(username)}"
headers = {"User-Agent": "curl/8.0"}
if os.environ.get("GITHUB_TOKEN"):
headers["Authorization"] = f"Bearer {os.environ['GITHUB_TOKEN']}"
req = urllib.request.Request(url, headers=headers)
with urllib.request.urlopen(req, timeout=20) as r:
data = json.load(r)
print(data["created_at"])
print(r.headers.get("X-RateLimit-Remaining"))
PY
在此处键入或粘贴代码
直接在发给openclaw,然后发token给他
image532×677 28.6 KBtg查询
image416×134 23.2 KB飞书查询
image315×228 3.62 KB微信查询
image521×127 2.15 KB
理论上可以通过该skills接入闲鱼自动回复,没时间搞,佬们可以自己研究下
网友解答:--【壹】--:
用不着这么费事
https://api.github.com/users/用户名
这就查到了
--【贰】--:
感谢大佬!
--【叁】--: Grey:
闲鱼自动回复
技术是与时俱进的
--【肆】--:
这个查一遍就知道自己号的注册时间了,还要查几次啊
--【伍】--:
查几次就会有ip限制

